/* =========================================================
   IDOL OMADA PORTAL
   Final Styles
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

html {
    background: #000;
}

body {
    min-height: 100vh;

    background: #000;
    color: #fff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   PORTAL LAYOUT
   ========================================================= */

.portal {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.portal-card {
    width: 100%;
    max-width: 420px;

    padding: 40px 32px;

    background: #080808;

    border: 1px solid #292929;
    border-radius: 14px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.65);

    position: relative;
}


/* =========================================================
   LOGO
   ========================================================= */

.idol-logo {
    display: block;

    width: auto;
    max-width: 180px;
    height: auto;

    margin: 0 auto 28px;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1 {
    margin: 0;

    text-align: center;

    font-size: 28px;
    line-height: 1.25;

    font-weight: 500;

    letter-spacing: 0.3px;
}

.subtitle {
    margin: 10px 0 30px;

    color: #aaa;

    text-align: center;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   FORM
   ========================================================= */

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;

    margin-bottom: 8px;

    color: #d5d5d5;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 400;
}


/* =========================================================
   INPUTS / SELECTS
   ========================================================= */

input,
select {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    background: #111;
    color: #fff;

    border: 1px solid #333;
    border-radius: 7px;

    outline: none;

    font-family: inherit;
    font-size: 15px;

    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

input:focus,
select:focus {
    border-color: #c9a24d;

    background: #131313;

    box-shadow:
        0 0 0 1px rgba(201, 162, 77, 0.15);
}

input::placeholder {
    color: #666;
}

select {
    cursor: pointer;
}

select option {
    background: #111;
    color: #fff;
}

input:disabled,
select:disabled {
    opacity: 0.45;

    cursor: not-allowed;
}


/* =========================================================
   PHONE FIELD
   ========================================================= */

.phone-group {
    display: flex;
    width: 100%;
}

.phone-group span {
    flex: 0 0 72px;

    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #181818;

    border: 1px solid #333;
    border-right: 0;

    border-radius: 7px 0 0 7px;

    color: #c9a24d;

    font-size: 14px;
}

.phone-group input {
    border-radius: 0 7px 7px 0;
}


/* =========================================================
   BUTTON
   ========================================================= */

button {
    width: 100%;
    height: 50px;

    margin-top: 4px;

    border: 0;
    border-radius: 7px;

    background: #c9a24d;
    color: #000;

    font-family: inherit;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        opacity 0.15s ease,
        transform 0.1s ease;
}

button:hover {
    opacity: 0.92;
}

button:active {
    transform: translateY(1px);
}

button:focus-visible {
    outline: 2px solid #c9a24d;
    outline-offset: 3px;
}


/* =========================================================
   CONSENT
   ========================================================= */

.consent {
    margin: 18px 0 0;

    color: #666;

    text-align: center;

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   SUCCESS PAGE
   ========================================================= */

.success-card {
    text-align: center;
}

.success-card .idol-logo {
    margin-bottom: 30px;
}


/* =========================================================
   SUCCESS ICON
   ========================================================= */

.success-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c9a24d;
    border-radius: 50%;

    color: #c9a24d;

    font-size: 28px;
    font-weight: 400;

    line-height: 1;
}


/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

.success-message {
    max-width: 300px;

    margin: 18px auto 0;

    color: #999;

    text-align: center;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 24px;

    color: #555;

    font-size: 11px;

    line-height: 1.5;

    text-align: center;
}

footer strong {
    color: #888;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .portal {
        min-height: 100svh;

        padding: 20px 15px;
    }

    .portal-card {
        padding: 32px 22px;

        border-radius: 12px;
    }

    .idol-logo {
        max-width: 165px;

        margin-bottom: 25px;
    }

    h1 {
        font-size: 25px;
    }

    .subtitle {
        margin-bottom: 27px;
    }

    .form-group {
        margin-bottom: 18px;
    }

}


/* =========================================================
   SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 360px) {

    .portal {
        padding: 15px 12px;
    }

    .portal-card {
        padding: 28px 18px;
    }

    .idol-logo {
        max-width: 150px;
    }

    h1 {
        font-size: 23px;
    }

    input,
    select,
    .phone-group span {
        height: 46px;
    }

    button {
        height: 48px;
    }

}

.customer-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.profile-item {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 18px;
}

.profile-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
    margin-bottom: 8px;
}

.profile-value {
    font-size: 16px;
    font-weight: 500;
}