/* ============================================
   MODERN LOGIN PAGE - Split Layout Design
   myhub.express - December 2024
   ============================================ */

/* Login page specific body */
body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    box-sizing: border-box;
}

/* Main wrapper */
.login-wrap {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================
   LOGO HEADER - Glass Hero Section
   ============================================ */

.logo-header {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 80px rgba(59, 130, 246, 0.15);
    position: relative;
    
}

/* Subtle glow effect behind logo */
.logo-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 150px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.hero-logo {
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.4));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   MAIN CONTENT - Split Layout Container
   ============================================ */

.login-container {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

/* ============================================
   LEFT PANEL - Login Form (1/3)
   ============================================ */

.login-panel {
    min-height: 420px;
    flex: 1;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Secure Login heading */
.login-panel #please {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: auto;
    border: none;
}

.login-panel #logmessage {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Form groups */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.9rem 1.1rem;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(100, 180, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(100, 180, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Remember me */
.form-group.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group.remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.form-group.remember label {
    display: inline;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    cursor: pointer;
}

/* Login button */
.login-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
}

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

/* ============================================
   RIGHT PANEL - Message of the Day (2/3)
   ============================================ */

.motd-panel {
    min-height: 420px;
    flex: 2;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.motd-title {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.motd-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.motd-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.motd-content h3 {
    font-family: "Inter", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.motd-content p {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2rem 0;
    max-width: 500px;
}

/* Feature badges */
.motd-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1rem;
}


/* ============================================
   FOOTER - 3D Bar with space-between layout
   ============================================ */

.login-wrap #footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem;
    height: auto !important;
    padding: 1.25rem !important;
    background: linear-gradient(180deg, 
        rgba(40, 40, 50, 0.95) 0%, 
        rgba(25, 25, 35, 0.98) 100%
    ) !important;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 -4px 20px rgba(0, 0, 0, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.login-wrap #footer p {
    font-family: "Inter", sans-serif !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    text-align: left !important;
    flex-shrink: 1;
}

.login-wrap #footer div.splash,
.login-wrap #footer div:last-of-type {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(180deg, 
        rgba(60, 60, 70, 0.9) 0%, 
        rgba(40, 40, 50, 0.9) 100%
    ) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.login-wrap #footer div.splash:hover,
.login-wrap #footer div:last-of-type:hover {
    transform: translateY(-2px);
}

.login-wrap #footer div.splash span,
.login-wrap #footer div:last-of-type span {
    font-family: "Inter", sans-serif !important;
    font-size: 0.6875rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline !important;
    width: auto !important;
    position: static !important;
    top: auto !important;
}

.login-wrap #footer div.splash img,
.login-wrap #footer div:last-of-type img {
    height: 1.5rem !important;
    width: auto !important;
    filter: brightness(1.1);
}

@media (max-width: 600px) {
    .login-wrap #footer {
        flex-direction: column !important;
        gap: 1rem;
        padding: 1rem !important;
    }
}

/* ============================================
   LOGO HEADER - Light Glass Effect (Override)
   ============================================ */

.logo-header {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(245, 245, 250, 0.92) 100%
    ) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Remove blue glow, use subtle shadow instead */
.logo-header::before {
    background: radial-gradient(ellipse, rgba(200, 200, 220, 0.3) 0%, transparent 70%) !important;
}

/* Logo stands out better on light background */
.hero-logo {
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.15)) !important;
}
