/* ========================================================
   Nowe style dla samego formularza i klocka .c-login-front
   ======================================================== */

.c-login-front__block {
    background-color: #262422;
    padding: 55px 55px 50px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.c-login-front__header {
    text-align: center;
    margin-bottom: 40px;
}

.c-login-front__header h3 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    color: #fff;
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.15;
}

.c-login-front__header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 4px;
    line-height: 1.65;
}

.c-login-front__header p:last-child {
    margin-bottom: 0;
}

.c-login-front__input-wrap {
    margin-bottom: 28px;
}

.c-login-front__label {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: inherit;
    font-weight: 600;
}

/* Pole telefonu */
.c-login-front__phone {
    display: flex;
    align-items: center;
    background-color: #1a1816;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.c-login-front__phone:focus-within {
    border-color: rgba(163, 130, 96, 0.5);
    box-shadow: 0 0 0 3px rgba(163, 130, 96, 0.08);
}

.c-login-front__phone-prefix {
    padding: 18px 14px 18px 22px;
    color: #a38260;
    font-weight: 600;
    font-size: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    user-select: none;
}

/* EU prefix select */
.c-login-front__phone-select {
    background-color: transparent;
    color: #a38260;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 8px 18px 16px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath stroke='%23a38260' stroke-width='1.5' stroke-linecap='round' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 26px;
    min-width: 95px;
}

.c-login-front__phone-select option {
    background: #1a1816;
    color: #fff;
}

.c-login-front__phone-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 16px;
    color: #fff;
    font-size: 18px;
    outline: none;
    letter-spacing: 2px;
}

.c-login-front__phone-field::placeholder {
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 3px;
}

/* Pudełka do wklikiwania OTP */
.c-login-front__otp {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.c-login-front__otp-input {
    width: 100%;
    min-width: 40px;
    height: 58px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #a38260;
    background-color: #1a1816;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
}

.c-login-front__otp-input:focus {
    border-color: rgba(163, 130, 96, 0.5);
    box-shadow: 0 0 0 3px rgba(163, 130, 96, 0.08);
}

/* Przycisk akcji */
.c-login-front__btn {
    width: 100%;
    background-color: #ad8456;
    background-image: linear-gradient(180deg, #b98e5e 0%, #a27b50 100%);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
    text-align: center;
    justify-content: center;
    margin-top: 6px;
}

.c-login-front__btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.c-login-front__btn:active {
    transform: translateY(0);
}

.c-login-front__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

/* Link poniżej przycisku */
.c-login-front__footer {
    margin-top: 28px;
    text-align: center;
}

.c-login-front__link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.c-login-front__link:hover {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.c-login-front__notice {
    background-color: #1f1d1b;
    border-left: 2px solid #a38260;
    padding: 16px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 28px;
    text-align: center;
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
}

.c-login-front__note {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.c-login-front__validation-icon {
    padding-right: 16px;
    display: flex;
    align-items: center;
}

.customer-login__link:hover { color: #fff; }

.customer-login__note {
    margin: 0;
    font-size: 12px;
    opacity: .75;
}

.customer-login__notice {
    margin-top: 6px;
    margin-bottom: 12px;
    border: 1px solid rgba(212,157,75,.45);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    background: rgba(212,157,75,.08);
}

@media (max-width: 600px) {
    .c-login-front__block {
        padding: 40px 28px 36px;
        border-radius: 8px;
    }
    .c-login-front__header h3 {
        font-size: 28px;
    }
    .c-login-front__phone-field {
        font-size: 16px;
    }
    .c-login-front__otp-input {
        height: 50px;
        font-size: 20px;
    }
}


/* ---------- NOWE ZASADY DLA INPUTU TELEFONU (MASK + VALIDATION) ---------- */
.c-login-front__phone-input-box {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.c-login-front__phone-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    outline: none;
    letter-spacing: 1px;
    width: 100%;
}

.c-login-front__phone-field::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.c-login-front__validation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

.c-login-front__validation-icon.is-valid svg {
    stroke: #22c55e;
}

.c-login-front__validation-icon.is-invalid svg {
    stroke: #ef4444;
}

