/* public_html/assets/css/auth-page.css */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; font-family: 'DM Sans', sans-serif; margin: 0; padding: 0; }

body { 
    background: #F7F9FC; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    padding: 40px 20px; 
    color: #111827;
}

.card { 
    background: #FFFFFF; 
    width: 100%; 
    max-width: 480px; 
    padding: 40px; 
    
    /* UPDATED UI PROPERTIES */
    border-radius: 8px; 
    box-shadow: none; 
    border: 1px solid #e8e8e8;
}

.card h2 { margin-bottom: 8px; font-size: 24px; font-weight: 700; color: #0F172A; text-align: center; }
.card p.subtitle { color: #6B7280; font-size: 14px; margin-bottom: 25px; text-align: center; }

.form-group { margin-bottom: 18px; }
label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #374151; }
input, select { 
    width: 100%; 
    padding: 12px 14px; 
    border: 1px solid #D1D5DB; 
    border-radius: 8px; 
    font-size: 14px; 
    outline: none; 
    transition: all 0.2s ease;
    color: #111827;
}
input:focus, select:focus {
    border-color: rgb(46, 91, 255);
    box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.15);
}

/* --- PREMIUM 3D BUTTON --- */
.btn-3d {
    min-height: 44px;
    width: 100%;
    cursor: pointer;
    background-color: rgb(46, 91, 255);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    border-radius: 8px;
    box-shadow: rgb(20, 71, 255) 0px -1.5px 0px 0px inset, rgb(46, 91, 255) 0px 0px 0px 0.5px inset, rgba(255, 255, 255, 0.18) 0px 1.5px 0px 0px inset, rgba(255, 255, 255, 0.18) 0px -2px 0px 0px inset;
    padding: 0px 12px;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    display: inline-flex;
    background-image: radial-gradient(80px 80px at var(--mouse-x, 50%) var(--mouse-y, 50%), hsla(0, 0%, 100%, 0.15) 0%, transparent 100%);
    transition-property: background-color, background-image, box-shadow;
    transition-timing-function: cubic-bezier(0.3, 0, 0.2, 1);
    transition-duration: 160ms;
    position: relative;
    color: white;
    font-weight: 600;
    font-size: 15px;
    margin-top: 10px;
}
.btn-3d:hover { background-color: rgb(36, 75, 225); }
.btn-text { transition: opacity 0.2s ease; }
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: spin 1s linear infinite;
    position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-3d.loading { cursor: not-allowed; opacity: 0.9; }
.btn-3d.loading .btn-text { opacity: 0; visibility: hidden; }
.btn-3d.loading .btn-loader { display: block; }

/* Plan Boxes */
.plans { display: flex; gap: 12px; margin-bottom: 25px; margin-top: 8px; }
.plan-box { flex: 1; border: 1px solid #D1D5DB; padding: 12px 10px; text-align: center; border-radius: 8px; cursor: pointer; transition: 0.2s; font-size: 14px; color: #4B5563; }
.plan-box input { display: none; }
.plan-box.active { border-color: rgb(46, 91, 255); background: rgba(46, 91, 255, 0.05); color: rgb(46, 91, 255); font-weight: 600; box-shadow: 0 0 0 1px rgb(46, 91, 255) inset; }

.msg { padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 13px; font-weight: 500; text-align: center; }
.error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FCA5A5; }
.footer-link { text-align: center; margin-top: 25px; font-size: 14px; color: #6B7280; }
.footer-link a { color: rgb(46, 91, 255); text-decoration: none; font-weight: 600; }
.footer-link a:hover { text-decoration: underline; }