/* assets/css/style.css */

:root {
    --primary-color: #f73859;
    --primary-gradient: linear-gradient(90deg, #f73859 0%, #ff5e7e 100%);
    --bg-color: #e6f0fa;
    --text-dark: #333;
    --text-muted: #888;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
}

/* --- Login Page --- */
.login-page {
    /* Soft blue/purple gradient background */
    background: linear-gradient(135deg, #e0ebff 0%, #fceed9 100%);
}

.login-card {
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    background: #fff;
    min-height: 550px;
}

.login-image-side {
    position: relative;
    overflow: hidden;
}

.login-image-side img {
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
}

.login-logo {
    max-height: 280px;
}

.login-form-side {
    padding: 3rem !important;
}

.login-input {
    padding-left: 3rem !important;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.login-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(247, 56, 89, 0.25);
    border-color: #ff5e7e;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.login-btn {
    background: var(--primary-gradient);
    border: none;
    padding: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 56, 89, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 56, 89, 0.5);
    background: linear-gradient(90deg, #ff5e7e 0%, #f73859 100%);
}

/* --- Dashboard / General Layout --- */
.sidebar {
    min-height: 100vh;
    background: #fff;
    box-shadow: 2px 0 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    max-width: 150px;
    margin: 1.5rem auto;
    display: block;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.nav-link i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.main-content {
    background-color: #f5f8fa;
    min-height: 100vh;
    padding: 2rem;
}

.card-stat {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

.card-stat:hover {
    transform: translateY(-5px);
}

.table-custom {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.table-custom thead {
    background-color: #f8f9fa;
}

.table-custom th {
    font-weight: 600;
    color: #555;
    border-bottom: none;
}

.table-custom td {
    vertical-align: middle;
}

.btn-action {
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* --- Mobile Sidebar Adjustments --- */
.mobile-header-logo {
    max-height: 50px;
    mix-blend-mode: multiply;
}

/* =====================================================================
   DEMO BANNER
   ===================================================================== */
.demo-banner {
  width: 100%;
  background: linear-gradient(90deg, #ea580c 0%, #f97316 100%);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: .45rem 1.2rem;
  text-align: center;
  position: relative;
  z-index: 1100;
  box-shadow: 0 2px 6px rgba(234,88,12,.35);
  flex-shrink: 0;
}
.demo-banner-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
.demo-banner-link:hover { color: #ffedd5; }
