/* ============================================
   MODERNDESA v4 — Login Base Styles
   Glassmorphic + Dark Theme Base
   assets/css/login-style.css
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    text-align: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #070b18 !important;
    background-image: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

strong { font-weight: 600; }

a, a:hover, a:focus {
    color: #34d399;
    text-decoration: none;
    transition: all 0.25s ease;
}

h1, h2 {
    margin-top: 10px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

h3 {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

img { max-width: 100%; }

::selection { background: #10b981; color: #fff; text-shadow: none; }
::-moz-selection { background: #10b981; color: #fff; text-shadow: none; }


/***** Top content / Layout *****/

.inner-bg {
    padding: 20px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.top-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.top-content .text { color: #fff; }
.top-content .text h1 { color: #fff; }
.top-content .description { margin: 20px 0 10px 0; }
.top-content .description p { opacity: 0.7; }
.top-content .description a { color: #fff; }


/***** Form Box *****/

.form-box {
    margin-top: 0;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-top {
    overflow: visible;
    padding: 0;
    border-radius: 0;
    text-align: center;
    background: transparent !important;
}

.form-top-left {
    float: none;
    width: 100%;
    padding-top: 0;
    text-align: center;
}
.form-top-left h3 { margin-top: 0; color: rgba(255,255,255,0.45); }
.form-top-right { display: none; }

/* GLASSMORPHIC CARD */
.form-bottom {
    padding: 38px 34px 32px;
    border-radius: 24px;
    text-align: center;
    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 24px 64px -12px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.form-bottom form textarea { height: 100px; }
.form-bottom form button.btn { width: 100%; border-radius: 14px; }
.form-bottom form .input-error { border-color: rgba(252,165,165,0.5); }


.form-page {
    padding: 0 25px 25px 25px;
    border-radius: 0 0 20px 20px;
    text-align: center;
    background: rgba(255,255,255,0.06);
}


/***** Footer Sections *****/

.login-footer {
    font-size: 12px;
    padding-top: 10px;
    color: rgba(255,255,255,0.3);
}
.login-footer > a { color: #34d399; }
.login-footer > a:hover { text-decoration: underline; }

.login-footer-top {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}
.login-footer-top > h1 {
    font-size: 28px;
    color: #fff !important;
    margin-top: 5px;
    margin-bottom: 6px;
    font-weight: 800;
    text-transform: none;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.login-footer-top > h2 {
    font-size: 15px;
    padding-top: 0;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.login-footer-top > h3 {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin-top: 0;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.login-footer-top > a { color: #34d399; }
.login-footer-top > a:hover { text-decoration: underline; }

.login-footer-bottom {
    font-size: 11px;
    padding-top: 10px;
    color: rgba(255,255,255,0.25);
}
.login-footer-bottom > a {
    color: rgba(255,255,255,0.3);
    font-weight: 400;
    transition: color 0.25s ease;
}
.login-footer-bottom > a:hover {
    text-decoration: none;
    color: #34d399;
}


/***** Error Messages *****/

.error {
    color: #fca5a5;
    font-size: 13px;
    text-align: center;
    padding-top: 8px;
    position: static !important;
    font-weight: 600;
}


/***** Toast *****/

.toast-success { background-color: #10b981; }
.toast-error { background-color: #ef4444; }
.toast-info { background-color: #3b82f6; }
.toast-warning { background-color: #f59e0b; }
.toast-message { font-size: 12px; }
#toast-container > div { text-align: left; }


/***** Responsive *****/

@media (max-width: 767px) {
    .inner-bg { padding: 30px 0; }
}

@media (max-width: 480px) {
    .form-box { max-width: 100%; padding: 0 14px; }
    .form-bottom { padding: 30px 24px 26px; border-radius: 20px; }
    h1, h2 { font-size: 22px; }
}
