/* =====================================================
   HENCHAMP BRANDED LOGIN SCREEN STYLES (LUXURY)
   ===================================================== */

body.luxury-login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #f7f7f7;
    overflow: hidden;
    color: #111;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sidebar */
.luxury-sidebar {
    width: 240px;
    background-color: #f1f1f1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    box-sizing: border-box;
    border-right: 1px solid #e5e5e5;
    z-index: 10;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6rem;
}

.sidebar-logo img {
    height: 36px;
    width: auto;
}

.sidebar-logo .logo-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--primary-900);
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.sidebar-logo .logo-text strong {
    font-weight: 800;
    text-transform: uppercase;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nav-item {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--primary-900);
}

.nav-item.active {
    font-weight: 700;
    color: var(--primary-900);
}

/* Main Area */
.luxury-main {
    flex: 1;
    position: relative;
    background: #fdfdfd;
}

.top-right-icon {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    font-size: 1.25rem;
    color: var(--primary-900);
    cursor: pointer;
    z-index: 100;
}

/* Floating Cards mimic the reference */
.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 10;
}

.fc-image {
    width: 220px;
    height: 280px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 8px;
    margin-bottom: 15px;
}

.fc-icon {
    font-size: 4rem;
    color: var(--primary-800);
    opacity: 0.8;
}

.fc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 4px 4px;
}

.fc-title {
    font-size: 10px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
}

.fc-badge {
    background: #b5b5b5;
    color: #fff;
    font-size: 8px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Positioning the floating cards to match the screenshot */
.pos-1 { top: 10%; left: 8%; transform: scale(0.9); }
.pos-2 { bottom: 8%; left: 15%; transform: scale(0.85); }
.pos-3 { top: 12%; right: 10%; transform: scale(0.95); }
.pos-4 { bottom: 5%; right: 15%; transform: scale(0.8); }

/* Central Login Form */
.login-subject-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    z-index: 50;
}

.luxury-login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(4, 23, 16, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.luxury-login-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.luxury-login-card p {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-form-group {
    margin-bottom: 1.25rem;
}

.login-form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-800);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.login-form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    color: var(--primary-900);
    transition: all 0.2s;
    box-sizing: border-box;
}

.login-form-group input:focus {
    outline: none;
    border-color: var(--primary-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 96, 68, 0.1);
}

.input-icon-wrapper {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.btn-luxury-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: var(--primary-900);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-luxury-submit:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(4, 23, 16, 0.15);
}

.login-error-alert {
    background: #fff0f0;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 900px) {
    .luxury-sidebar {
        display: none;
    }
    .floating-card {
        display: none;
    }
}
