/* Base Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
}

/* Sidebar Styling */
.sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%) !important;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.sidebar .nav-link {
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 12px 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #cbd5e1 !important;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.2) 0%, transparent 100%);
    color: #fff !important;
    transform: translateX(5px);
    border-left: 4px solid #3498db;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #ffffff;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* Dashboard Colorful Cards */
.bg-primary { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important; }
.bg-success { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important; }
.bg-danger { background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%) !important; }

/* Auth Page */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Custom Table */
.table-custom th {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

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

/* Summernote customization */
.note-editor.note-frame {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.note-toolbar {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0;
}
