/* ===== Account (Login/Register) by Sasa ===== */

.account-page {
    position: relative;
    background: #ee1b24;
    overflow: hidden;
    min-height: 100vh;
    padding: 100px 0 2rem;
    display: flex;
    align-items: center;
}

.acc-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.acc-swoosh {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: auto;
    height: 95%;
    z-index: 1;
}

.acc-swoosh img {
    width: 100%;
    height: 100%;
}

.acc-right {
    position: relative;
    z-index: 2;
    flex: 1 1 460px;
    max-width: 500px;
    width: 100%;
}

.acc-left {
    position: relative;
}

.acc-left__title {
    font-size: 3rem;
    font-family: popbl;
    color: #ffffff;
}

.acc-form {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 1rem;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #ffffff transparent;
}

/* Chrome, Edge, Brave (Webkit) */
.acc-form::-webkit-scrollbar {
    width: 6px;
}

.acc-form::-webkit-scrollbar-track {
    background: transparent;
}

.acc-form::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 10px;
}

.acc-form::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.acc-form__title {
    color: #ffffff;
    font-family: popbl;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 12px;
}

.acc-subtitle {
    color: #ffffff;
    font-family: jkt;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.acc-field {
    margin-bottom: 18px;
}

.acc-field label {
    display: block;
    color: #ffffff;
    font-family: jkt;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
}

.acc-field input,
.acc-field select {
    width: 100%;
    background: #7a0c13;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    padding: 14px 16px;
    font-size: 14px;
    font-family: "Poppins", "Segoe UI", sans-serif;
    outline: none;
    appearance: none;
}

.acc-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='2' fill='none' fill-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.acc-field input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.acc-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #ffd9d9;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

.acc-error--block {
    margin-bottom: 14px;
    margin-top: -6px;
}

.acc-gender-group {
    display: flex;
    gap: 12px;
}

.acc-gender-btn {
    flex: 1;
    background: #7a0c13;
    border: 2px solid transparent;
    border-radius: 6px;
    color: #ffffff;
    padding: 12px;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.acc-gender-btn.is-active {
    border-color: #ffffff;
}

.acc-submit {
    display: block;
    width: 100%;
    background: #ffffff;
    color: #ee1b24;
    border: none;
    border-radius: 6px;
    padding: 15px;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.acc-submit:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
    color: #ee1b24;
}

.acc-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.acc-back {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    margin-bottom: 12px;
    cursor: pointer;
    text-decoration: underline;
}

.acc-terms {
    color: #ffffff;
    font-family: jkt;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.acc-terms-link {
    display: inline-block;
    color: #ffffff;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: 20px;
}

.acc-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 20px;
}

.acc-checkbox-row input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.acc-checkbox-box {
    width: 20px;
    height: 20px;
    background: #7a0c13;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
}

.acc-checkbox-row input[type="checkbox"]:checked + .acc-checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.acc-checkbox-label {
    color: #ffffff;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 900px) {
    .account-page {
        /* align-items: start; */
    }

    .acc-container {
        justify-content: flex-start;
        flex-direction: column;
    }

    .acc-left {
        width: 100%;
    }

    .acc-left__title {
        font-size: 2rem;
    }

    .acc-right {
        max-width: 100%;
        padding-top: 3rem;
    }

    .acc-swoosh {
        display: none;
    }

    .acc-form__title {
        font-size: 1rem;
    }
}
