* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 600px;
}

.auth-branding {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.branding-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.logo-section {
    margin-bottom: 0;
}

.brand-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.brand-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-subtitle {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
}

.auth-form-section {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.form-container {
    width: 100%;
    max-width: 450px;
}

.auth-page-content {
    width: 100%;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}

.login-form {
    margin-bottom: 1.5rem;
}

.form-floating > label {
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #0d6efd;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.text-danger {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.forgot-password-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.btn-login {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:active:not(:disabled) {
    transform: translateY(0);
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    position: relative;
    background: #f8f9fa;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-azure {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #0078d4;
    color: #0078d4;
    transition: all 0.3s ease;
}

.btn-azure:hover:not(:disabled) {
    background: #0078d4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
}

.btn-azure:active:not(:disabled) {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .auth-split-layout {
        grid-template-columns: 1fr;
    }

    .auth-branding {
        display: none;
    }

    .auth-form-section {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .auth-container {
        padding: 10px;
    }

    .auth-form-section {
        padding: 30px 20px;
    }
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f3f4f6;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: width 0.3s;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 28px;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
}

.sidebar-nav {
    padding: 30px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: white;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
}

.nav-icon {
    font-size: 20px;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    transition: margin-left 0.3s;
}

.sidebar.collapsed + .main-content {
    margin-left: 70px;
}

.topbar {
    background: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.toggle-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

.app-title {
    flex: 1;
    font-size: 20px;
    color: #1f2937;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.user-avatar:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 50px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-header strong {
    display: block;
    color: #1f2937;
    margin-bottom: 4px;
}

.dropdown-header small {
    color: #6b7280;
    font-size: 12px;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f3f4f6;
}

.content-area {
    padding: 24px;
}

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

.dashboard-header h2 {
    font-size: 24px;
    color: #1f2937;
}

.btn-primary {
    padding: 10px 20px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    padding: 10px 20px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-icon {
    padding: 6px 10px;
    background: #e5e7eb;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 4px;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #d1d5db;
}

.btn-icon.danger:hover {
    background: #fee2e2;
    color: #dc2626;
}

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: #f9fafb;
}

.data-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 14px 16px;
    border-top: 1px solid #e5e7eb;
    color: #1f2937;
}

.data-table tbody tr:hover {
    background: #f9fafb;
}

.no-data {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    color: #6b7280;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.filter-panel {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: end;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.status-cell {
    text-align: center;
}

.status-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    line-height: 24px;
    font-weight: bold;
}

.status-icon.success {
    background: #d1fae5;
    color: #065f46;
}

.status-icon.danger {
    background: #fee2e2;
    color: #dc2626;
}

.date-green {
    background: #d1fae5;
    color: #065f46;
}

.date-red {
    background: #fee2e2;
    color: #dc2626;
}

.info-section {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-section p {
    margin-bottom: 8px;
    color: #374151;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.report-content {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
}

textarea.form-control {
    resize: vertical;
    font-family: inherit;
}

select.form-control {
    cursor: pointer;
}

@media (max-width: 968px) {
    .login-background {
        width: 100%;
        height: 35%;
        border-radius: 0 0 50px 50px;
    }

    .login-card-wrapper {
        margin-left: 0;
        margin-top: 35%;
        padding: 20px;
    }

    .login-card {
        padding: 40px 30px;
    }

    .brand-logo {
        font-size: 70px;
    }

    .brand-title {
        font-size: 32px;
    }

    .brand-subtitle {
        font-size: 14px;
    }

    .system-name {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }

    .sidebar .brand-text,
    .sidebar .nav-item span:not(.nav-icon) {
        display: none;
    }

    .main-content {
        margin-left: 70px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 26px;
    }

    .filter-panel {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .data-table {
        font-size: 13px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }
}

/* ===== CAExams-Style Dashboard Styling ===== */

/* Sidebar Branding with Logo */
.sidebar-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.brand-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.brand-subtext {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.admin-badge {
    background: #ff4757;
    color: white;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    display: inline-block;
    width: fit-content;
}

/* Sidebar Navigation Icons */
.nav-icon {
    font-size: 18px;
    width: 24px;
    display: inline-block;
}

/* Topbar Styling */
.topbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-sidebar {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.toggle-sidebar:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.topbar-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.topbar-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar-brand-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.topbar-brand-subtext {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1;
}

.topbar-admin-badge {
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.topbar-spacer {
    flex: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.3);
}

.user-icon {
    font-size: 24px;
    color: white;
}

.user-name {
    font-weight: 500;
    color: white;
    font-size: 14px;
}

.dropdown-arrow {
    font-size: 12px;
    color: white;
}

/* Login Page Logo */
.brand-logo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dashboard Cards (CAExams Style) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.stat-card-header {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-card-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card-label {
    font-size: 13px;
    opacity: 0.85;
}

.stat-card-icon {
    font-size: 40px;
    opacity: 0.3;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Dashboard Header */
.dashboard-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.dashboard-page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-page-subtitle {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Content Area Background */
.content-area {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 70px);
    padding: 30px;
}

/* Update existing sidebar gradient */
.sidebar {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%) !important;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-admin {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.badge-user {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s;
}

.checkbox-label:hover {
    background: rgba(102, 126, 234, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label span {
    font-size: 14px;
    color: #333;
}

/* Button Icons */
.btn-icon {
    background: none;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    color: #667eea;
    font-size: 16px;
}

.btn-icon:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.btn-icon.danger {
    color: #ff4757;
}

.btn-icon.danger:hover {
    background: rgba(255, 71, 87, 0.1);
}

/* Modal Large */
.modal-large {
    max-width: 800px;
    width: 90%;
}

/* Report Content */
.report-content {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    max-height: 500px;
    overflow-y: auto;
}

.report-content table {
    width: 100%;
    border-collapse: collapse;
}

.report-content th,
.report-content td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.report-content th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Custom date input styling */
.date-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.date-input-wrapper input[type="text"] {
    cursor: text;
    background-color: white;
    font-family: inherit;
}

.date-input-wrapper input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.date-input-wrapper input[type="text"]::placeholder {
    color: #999;
    font-style: italic;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
}

.logs-timeline {
    position: relative;
    padding: 20px 0;
    max-height: 500px;
    overflow-y: auto;
}

.logs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-row {
    display: grid;
    grid-template-columns: 150px 1fr 180px;
    gap: 16px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    transition: all 0.2s ease;
    align-items: center;
}

.log-row:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.log-user {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.log-action-text {
    color: #4b5563;
    font-size: 14px;
}

.log-datetime {
    color: #6b7280;
    font-size: 13px;
    text-align: right;
    font-weight: 500;
}

.modal-large {
    max-width: 700px;
}

/* Row background colors for admin table */
.row-green {
    background-color: #d1fae5 !important;
}

.row-green:hover {
    background-color: #a7f3d0 !important;
}

.row-amber {
    background-color: #fef3c7 !important;
}

.row-amber:hover {
    background-color: #fde68a !important;
}

.row-red {
    background-color: #fee2e2 !important;
}

.row-red:hover {
    background-color: #fecaca !important;
}

/* Comments cell wrapping */
.comments-cell {
    max-width: 300px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}
