/* =========================================================
   MOBILE FIX 1:1 ZA POSTOJECI STYLE.CSS
   Zalijepi NA KRAJ fajla
   ========================================================= */
@media (max-width: 768px) {

    /* GLOBAL */
    html, body {
        overflow-x: hidden;
    }

    body {
        font-size: 15px;
    }

    /* HEADER */
    header {
        margin-top: 14px;
        width: calc(100% - 24px);
        padding: 10px 12px 12px 12px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .logo {
        height: 58px;
        width: auto;
        flex-shrink: 0;
    }

    .home-btn {
        margin-left: 8px;
        font-size: 18px;
        align-self: flex-start;
    }

    .login-btn {
        margin-right: 0;
        max-width: 120px;
        font-size: 14px;
        align-self: flex-start;
    }

    .login-text {
        font-size: 13px;
        max-width: 90px;
    }

    .header-spacer {
        display: none;
    }

    .header-center {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        pointer-events: auto;
        text-align: center;
        order: 3;
        flex-basis: 100%;
        margin-top: 8px;
    }

    header h1 {
        font-size: 24px;
        line-height: 1.18;
        margin: 6px 0 4px 0;
        padding: 0 6px;
    }

    header h2 {
        font-size: 14px;
        line-height: 1.35;
        margin-top: 4px;
        padding: 0 8px;
    }

    .header-step {
        font-size: 18px;
    }

    /* FLASH */
    .flash-messages {
        top: 75px;
        right: 10px;
        left: 10px;
        width: auto;
    }

    .flash {
        margin-right: 0;
        text-align: center;
        font-size: 14px;
    }

    /* MODEL FLOW - GLAVNI FIX */
    .model-flow {
        width: 100%;
        padding: 24px 14px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 14px;
    }

    .flow-item {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .flow-label {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .flow-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        display: block;
        margin: 0 auto;
        border-radius: 14px;
    }

    .flow-icon {
        width: 34px;
        height: 34px;
        margin: 2px 0;
    }

    /* HOVER BOX ugasi na mobile */
    .hover-box {
        display: none !important;
    }

    /* INFO SECTION - jedna kolona */
    .info-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 24px 16px 30px 16px;
    }

    .info-box {
        flex: none;
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.65;
        box-sizing: border-box;
        text-align: left;
    }

    .big {
        font-size: 17px;
        line-height: 1.5;
    }

    /* upload/trial sredina */
    .upload-wrapper {
        width: 100%;
        max-width: 100%;
        gap: 18px;
    }

    .upload-box {
        width: 100%;
        height: 320px;
        border-radius: 28px;
        padding: 18px;
        box-sizing: border-box;
    }

    .upload-icon {
        font-size: 28px;
    }

    .upload-text {
        font-size: 14px;
        line-height: 1.45;
    }

    .upload-info-centered {
        max-width: 88%;
        font-size: 14px;
        line-height: 1.45;
        padding: 12px 14px;
    }

    .weiter-btn {
        width: 100%;
        padding: 16px 18px;
        font-size: 17px;
        border-radius: 999px;
        box-sizing: border-box;
    }

    /* upload section */
    .upload-section {
        margin: 20px 0;
        padding: 0 16px;
        box-sizing: border-box;
    }

    /* FOOTER */
    footer {
        padding: 22px 16px 28px 16px;
        font-size: 13px;
        line-height: 1.6;
    }

    /* Ebenen section */
    .ebenen-section {
        padding: 24px 14px;
    }

    .ebenen-section h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .ebenen-grid {
        gap: 14px;
    }

    .ebene-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px 10px;
        width: 100%;
        max-width: 100%;
    }

    .ebene-row label {
        font-size: 14px;
        text-align: left;
    }

    .ebene-row input {
        width: 100%;
        box-sizing: border-box;
    }

    /* LOGIN MODAL */
    .modal-content-login {
        width: calc(100% - 28px);
        border-radius: 28px;
        padding: 22px 16px;
        box-sizing: border-box;
    }

    .modal-content-login input {
        width: 100%;
        box-sizing: border-box;
    }

    .modal-content-login button {
        width: 100%;
        box-sizing: border-box;
    }

    .close-login {
        top: 14px;
        right: 18px;
        font-size: 24px;
    }

    .small-link-login {
        font-size: 14px !important;
    }

    /* PAYMENT MODAL */
    .modal-content-payment,
    .payment-modal-content {
        width: calc(100% - 28px);
        max-width: calc(100% - 28px);
        border-radius: 28px;
        padding: 18px 16px 20px 16px;
        box-sizing: border-box;
    }

    .modal-content-payment input,
    .payment-modal-content .form-row input {
        font-size: 16px;
    }

    .modal-content-payment .btn-pay,
    .modal-content-payment .btn-paypal,
    .payment-modal-content .btn-pay,
    .payment-modal-content .btn-paypal {
        font-size: 16px;
        padding: 14px 12px;
        border-radius: 999px;
    }

    .payment-modal-content .price-info {
        font-size: 18px;
        padding: 0 20px;
    }

    .payment-modal-content .close-payment,
    .close-payment {
        top: 14px;
        right: 16px;
        font-size: 24px;
    }

    .payment-modal-content #paypal-button-container > div {
        width: 100% !important;
        max-width: 100% !important;
    }
}