/* 
   A-Aaron Security Training Portal 
   Theme: Security Prime (Enterprise)
   Version: 3.1 (Fixed Structure)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Identity */
    --primary: #0f172a;
    /* Deep Slate - Professional Base */
    --primary-dark: #020617;
    /* darker slate */
    --accent: #dc2626;
    /* Security Red - Primary Action */
    --accent-hover: #b91c1c;
    /* Darker Red */
    --highlight: #f59e0b;
    /* Gold/Amber - Warnings/Highlights */

    /* UI Colors */
    --bg-body: #f8fafc;
    /* Cool Gray 50 */
    --bg-card: #ffffff;
    --bg-sidebar: #0f172a;

    /* Text Colors */
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #f1f5f9;
    /* Slate 100 (on dark backgrounds) */

    /* Borders & Dividers */
    --border: #e2e8f0;
    /* Slate 200 */

    /* Status Colors */
    --success: #10b981;
    /* Emerald 500 */
    --success-bg: #ecfdf5;
    /* Emerald 50 */
    --danger: #ef4444;
    /* Red 500 */
    --danger-bg: #fef2f2;
    /* Red 50 */
    --warning: #f59e0b;
    /* Amber 500 */
    --warning-bg: #fffbeb;
    /* Amber 50 */
    --info: #0ea5e9;
    /* Sky 500 */
    --info-bg: #f0f9ff;
    /* Sky 50 */

    /* Dimensions */
    --sidebar-width: 280px;
    --header-height: 70px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Landing Page Vars */
    --hero-bg: #0f172a;
    --hero-text: #ffffff;
    --card-bg: #ffffff;
    --accent-color: #dc2626;
    --text-secondary: #64748b;
}

/* -------------------------------------------------------------------------- */
/* Reset & Base Styles */
/* -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* -------------------------------------------------------------------------- */
/* Navigation (Landing) */
/* -------------------------------------------------------------------------- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------------------------------------------------------------- */
/* Layout Structure */
/* -------------------------------------------------------------------------- */
.admin-panel {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Sidebar */
/* -------------------------------------------------------------------------- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
    height: 48px;
    width: auto;
    margin-right: 16px;
}

.sidebar-header h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    line-height: 1.2;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 6px;
    border-radius: var(--radius-md);
    color: #94a3b8;
    /* Slate 400 */
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(4px);
}

.nav-item.active {
    background-color: var(--accent);
    color: white;
    border-left-color: var(--highlight);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.nav-icon {
    margin-right: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.nav-text {
    font-size: 15px;
}

/* -------------------------------------------------------------------------- */
/* Top Header */
/* -------------------------------------------------------------------------- */
.top-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(8px);
}

.header-left h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-body);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

/* -------------------------------------------------------------------------- */
/* Typography */
/* -------------------------------------------------------------------------- */
h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-center {
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Landing Components */
/* -------------------------------------------------------------------------- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 100px 20px 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
}

.main-container {
    max-width: 1200px;
    margin: -80px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    justify-content: center;
}

.access-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.access-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: #cbd5e1;
}

.access-card::top {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.card-employee {
    border-top: 4px solid #dc2626;
}

.card-admin {
    border-top: 4px solid #0f172a;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.access-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.card-employee .icon-wrapper {
    background: #fef2f2;
    color: #dc2626;
}

.card-admin .icon-wrapper {
    background: #f1f5f9;
    color: #0f172a;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.card-desc {
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
    font-size: 15px;
}

.btn-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    text-decoration: none;
    gap: 8px;
}

.btn-employee {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.btn-employee:hover {
    background-color: #b91c1c;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
}

.btn-admin {
    background-color: #0f172a;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
}

.btn-admin:hover {
    background-color: #1e293b;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.3);
}

.features {
    padding: 40px 0;
    background: white;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    color: #dc2626;
    background: #fef2f2;
    padding: 10px;
    border-radius: 8px;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.feature-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

footer {
    background: #f8fafc;
    padding: 24px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
}

/* -------------------------------------------------------------------------- */
/* Cards & Stats */
/* -------------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background-color: var(--bg-body);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background-color: var(--accent);
    color: white;
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-info p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------------------------------------------------------------- */
/* Buttons */
/* -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    gap: 8px;
    line-height: 1.2;
    height: 38px;
    /* Consistent height */
}

.btn-primary {
    background-color: var(--primary);
    /* Deep Slate */
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-action-primary {
    /* For Red Action Buttons if needed */
    background-color: var(--accent);
    color: white;
    transform: translateY(-1px);
}

.btn-action-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: white;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-main);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    height: 32px;
}

.btn-block {
    width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Forms */
/* -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-main);
    background-color: white;
    transition: all 0.2s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* -------------------------------------------------------------------------- */
/* Tables */
/* -------------------------------------------------------------------------- */
.table-container {
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: none;
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background-color: var(--bg-body);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

/* Modern Styled Table */
.styled-table {
    width: 100%;
    border-collapse: collapse;
}

.styled-table thead th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    padding: 16px 20px;
    text-align: left;
    letter-spacing: 0.5px;
}

.styled-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.styled-table tbody tr:hover {
    background-color: #f1f5f9;
}

.styled-table tr:last-of-type td {
    border-bottom: none;
}

/* Generic Card */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
    border: none;
    margin-bottom: 24px;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover {
    background-color: #fcfcfc;
}

/* -------------------------------------------------------------------------- */
/* Badges */
/* -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-success {
    background-color: var(--success-bg);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-danger {
    background-color: var(--danger-bg);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.badge-warning {
    background-color: var(--warning-bg);
    color: #92400e;
    border: 1px solid #fde68a;
}

/* -------------------------------------------------------------------------- */
/* Login Page */
/* -------------------------------------------------------------------------- */
.login-page {
    background-color: var(--bg-body);
    background-image:
        radial-gradient(at 0% 0%, rgba(220, 38, 38, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.05) 0px, transparent 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.login-box {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}

.logo h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.logo p {
    color: var(--text-muted);
    font-size: 15px;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--accent);
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* Alerts */
/* -------------------------------------------------------------------------- */
.alert {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: var(--success-bg);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: var(--danger-bg);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: var(--warning-bg);
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background-color: var(--info-bg);
    color: #075985;
    border: 1px solid #bae6fd;
}

/* -------------------------------------------------------------------------- */
/* Quick Actions */
/* -------------------------------------------------------------------------- */
.quick-actions {
    display: grid;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s;
}

.action-btn span {
    margin-right: 16px;
    color: var(--accent);
    display: flex;
    align-items: center;
}

.action-btn:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

/* -------------------------------------------------------------------------- */
/* Pagination */
/* -------------------------------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    background-color: white;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: #fef2f2;
}

.pagination a.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.pagination a.disabled {
    opacity: 0.5;
    pointer-events: none;
    background-color: var(--bg-body);
}

/* -------------------------------------------------------------------------- */
/* Responsive */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .top-header {
        padding: 0 16px;
    }

    .container {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Modern Form Styles */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
    color: #1e293b;
    box-sizing: border-box;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Button Styles */
.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: white;
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #475569;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: #cbd5e1;
    color: #334155;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-full {
        grid-column: span 2;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #475569;
    font-size: 14px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 24px;
}