@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium Dark Color Palette */
    --primary: #6366f1; /* Vibrant Indigo */
    --primary-hover: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); /* Indigo to Purple */
    --bg-color: #020617; /* Very Dark Slate (Midnight) */
    --text-main: #f8fafc; /* Crisp White */
    --text-muted: #94a3b8; /* Soft Slate */
    --border-light: rgba(255, 255, 255, 0.08); /* Ultra-thin subtle border */
    --border-strong: rgba(255, 255, 255, 0.15);
    
    /* Premium Shadows & Glows */
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.5);
    --shadow-float: 0 20px 40px -20px rgba(0,0,0,0.7), 0 0 20px rgba(99, 102, 241, 0.15);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.5);
    
    /* Dark Glassmorphism Specs */
    --glass-bg: rgba(15, 23, 42, 0.6); /* Slate 900 with transparency */
    --glass-blur: blur(24px);
}

* {
    box-sizing: border-box;
}

button, input, select, textarea {
    font-family: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay; /* Blends the image with the very dark bg-color */
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Aurora Animated Background */
body::before, body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.6;
    animation: drift 20s infinite alternate linear;
}

body::before {
    background: rgba(99, 102, 241, 0.15); /* Neon Indigo */
    top: -100px;
    left: -100px;
}

body::after {
    background: rgba(168, 85, 247, 0.15); /* Neon Purple */
    bottom: -100px;
    right: -100px;
    animation-direction: alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 150px) scale(1.2); }
}

body.lang-bn {
    font-family: 'Hind Siliguri', sans-serif;
}

/* Glassmorphism Container & Cards */
.glass-container, .login-card, .module-card, .room-card, .stat-card, .neu-table-container, .invoice-box {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Interactive Cards (Dashboard & Rooms) */
.module-card, .room-card, .stat-card {
    cursor: default;
}
.module-card:hover, .room-card:hover, .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-float);
    border-color: rgba(255,255,255,0.9);
}
.module-card { cursor: pointer; text-decoration: none; }

/* Premium Inputs */
.neu-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.neu-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

/* Premium Buttons */
.neu-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.neu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, #4338CA 0%, #2563EB 100%);
}
.neu-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th {
    padding: 16px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-strong);
}
td {
    padding: 16px;
    border-bottom: 1px solid var(--border-strong);
    color: var(--text-main);
    font-weight: 500;
    transition: background 0.2s ease;
}
tr:hover td {
    background: rgba(255,255,255,0.05);
}

/* Login Page Specifics */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.login-card {
    width: 100%;
    max-width: 420px;
    padding: 50px 40px;
    text-align: center;
}
.login-card h2 {
    margin-top: 0;
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}
.form-group {
    margin-bottom: 24px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dashboard Specifics */
.nav-item {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary) !important;
}
.module-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
    filter: drop-shadow(0 4px 6px rgba(79, 70, 229, 0.2));
}

/* Utilities */
hr {
    border: 0;
    border-top: 1px solid var(--border-strong);
    margin: 30px 0;
}

/* Layouts */
.page-container {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

/* Room Grid Layout */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.room-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.status-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.room-no {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.cleaning-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.booking-badge {
    padding: 5px;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    margin-top: 15px;
}

.guest-info {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Stats & Reports */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 20px;
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.stat-card .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}
