/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Visual Hierarchy */
.section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 400;
}

/* Enhanced Card Styles */
.dashboard-card-modern {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.dashboard-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

.stat-card-modern {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}

.stat-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.stat-card-modern.stat-card-primary {
    border-left-color: #3498db;
}

.stat-card-modern.stat-card-success {
    border-left-color: #27ae60;
}

.stat-card-modern.stat-card-warning {
    border-left-color: #f39c12;
}

.stat-card-modern.stat-card-info {
    border-left-color: #3498db;
}

/* Enhanced Button Styles */
.btn-primary, .btn-secondary, .btn-success, .btn-danger {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-primary:hover, .btn-secondary:hover, .btn-success:hover, .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Enhanced Table Styles */
.table-modern {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-modern thead {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.table-modern th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
}

.table-modern td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

/* Enhanced Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card-modern,
.stat-card-modern,
.table-modern tbody tr {
    animation: fadeIn 0.4s ease-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #003A8C, #005FCC);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .logo h1 {
    color: white;
}

.header .logo p {
    color: rgba(255, 255, 255, 0.9);
}

.header .nav a {
    color: white;
}

.header .nav a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.header .logo h1 {
    color: white;
}

.logo p {
    color: #7f8c8d;
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0;
}

.header .logo p {
    color: rgba(255, 255, 255, 0.9);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #3b82f6;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #1e40af;
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
}

.btn-info {
    background: #17a2b8;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-info:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 4rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #e0f2fe;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blockchain-visualization {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    min-height: 400px;
    position: relative;
}

.blockchain-network {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.block-node:hover {
    transform: scale(1.1);
}

.block-node.center {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.4);
}

.block-node.top-left {
    top: 20px;
    left: 20px;
}

.block-node.top-right {
    top: 20px;
    right: 20px;
}

.block-node.bottom-left {
    bottom: 20px;
    left: 20px;
}

.block-node.bottom-right {
    bottom: 20px;
    right: 20px;
}

.block-content {
    text-align: center;
    color: white;
}


.block-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    opacity: 0.6;
}

.line1 {
    top: 60px;
    left: 90px;
    width: 60px;
    height: 3px;
    transform: rotate(45deg);
}

.line2 {
    top: 60px;
    right: 90px;
    width: 60px;
    height: 3px;
    transform: rotate(-45deg);
}

.line3 {
    bottom: 60px;
    left: 90px;
    width: 60px;
    height: 3px;
    transform: rotate(-45deg);
}

.line4 {
    bottom: 60px;
    right: 90px;
    width: 60px;
    height: 3px;
    transform: rotate(45deg);
}

.line5 {
    top: 50%;
    left: 50%;
    width: 20px;
    height: 3px;
    transform: translate(-50%, -50%);
}

.blockchain-info {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
}

.info-item {
    text-align: center;
}

.info-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.info-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
}

.bg-light {
    background: #f8f9fa;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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


.feature-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Requirements */
.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirement-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.requirement-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.requirement-item ul {
    list-style: none;
}

.requirement-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.requirement-item li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #3b82f6;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Dashboard Styles */
.dashboard {
    min-height: 100vh;
    background: #f8f9fa;
}

.dashboard-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.dashboard-header .container {
    padding: 0 1.5rem;
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0.75rem 0;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.dashboard-content {
    padding: 2rem 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dashboard-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon {
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Table Styles */
.table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

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

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.table tr:hover {
    background: #f8f9fa;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

/* Authentication Styles */
.auth-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003A8C, #005FCC, #33AFFF);
    padding: 2rem 0;
}

/* Demo Credentials */
.demo-credentials {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.demo-credentials h4 {
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 0.9rem;
}

.demo-account {
    padding: 0.5rem;
    margin: 0.25rem 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.demo-account:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-1px);
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.auth-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.hint {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-style: italic;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

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

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

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.role-selection h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.role-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.role-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.role-btn:hover {
    border-color: #3498db;
    background: #f8f9fa;
    transform: translateY(-2px);
}

.role-icon {
    font-size: 2rem;
}

.role-info h4 {
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.role-info p {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin: 0;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #ecf0f1;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.terms-link {
    color: #3498db;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Dashboard Specific Styles */
.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
}

.user-role {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.vehicle-info {
    display: flex;
    flex-direction: column;
}

.vehicle-info small {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content h4 {
    margin-bottom: 0.25rem;
    color: #2c3e50;
    font-size: 1rem;
}

.notification-content p {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.notification-content small {
    color: #7f8c8d;
    font-size: 0.8rem;
}

/* Verifier Dashboard Styles */
.verification-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ecf0f1;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    color: #7f8c8d;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-btn:hover {
    color: #3b82f6;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.search-form {
    padding: 1rem 0;
}

/* Insurance Verifier Dashboard Styles */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.summary-item {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.summary-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.summary-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Admin Dashboard Styles */
.audit-logs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audit-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.audit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.audit-content h4 {
    margin-bottom: 0.25rem;
    color: #2c3e50;
    font-size: 1rem;
}

.audit-content p {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.audit-content small {
    color: #7f8c8d;
    font-size: 0.8rem;
}

/* Registration Wizard Styles */
.wizard-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 2rem;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    width: 100px;
    height: 2px;
    background: #ecf0f1;
    z-index: 1;
}

.progress-step.active:not(:last-child)::after {
    background: #3498db;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ecf0f1;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.progress-step.active .step-number {
    background: #3498db;
    color: white;
}

.progress-step.completed .step-number {
    background: #27ae60;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
}

.progress-step.active .step-label {
    color: #3498db;
    font-weight: 600;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-form {
    max-width: 800px;
    margin: 0 auto;
}

.upload-section {
    margin-bottom: 2rem;
}

.upload-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.upload-item:hover {
    border-color: #3498db;
}

.upload-info h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.upload-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

.upload-area {
    position: relative;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px dashed #3498db;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-label:hover {
    background: #e3f2fd;
    border-color: #2980b9;
}

.upload-icon {
    font-size: 2rem;
}

.review-section {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.review-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.review-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.terms-agreement {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid #ffeaa7;
}

/* Document Viewer Styles */
.document-header {
    text-align: center;
    margin-bottom: 2rem;
}

.document-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.document-viewer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.document-preview {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.qr-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.qr-placeholder {
    background: #f8f9fa;
    padding: 2rem;
    border: 2px dashed #3498db;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: bold;
    color: #3498db;
}

.audit-trail {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-left: 4px solid #3b82f6;
    background: #f8f9fa;
    border-radius: 8px;
}

.timeline-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timeline-content h4 {
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.timeline-content p {
    margin-bottom: 0.5rem;
    color: #555;
}

.timeline-content small {
    color: #7f8c8d;
}

/* Search Page Styles */
.search-section {
    text-align: center;
    margin-bottom: 3rem;
}

.search-section h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.search-section p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ecf0f1;
}

.search-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: #7f8c8d;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-tab.active {
    color: #3498db;
    border-bottom: 3px solid #3498db;
}

.search-input {
    display: none;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input.active {
    display: flex;
}

.search-input input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
}

.verification-results {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-card {
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    padding: 1.5rem;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-header h4 {
    color: #2c3e50;
    margin: 0;
}

.result-details {
    margin-bottom: 1.5rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
}

/* Settings Page Styles */
.settings-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.settings-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.settings-sidebar h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.settings-nav {
    display: flex;
    flex-direction: column;
}

.settings-link {
    padding: 1rem;
    text-decoration: none;
    color: #7f8c8d;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

.settings-link.active {
    background: #3b82f6;
    color: white;
}

.settings-link:hover {
    background: #f8f9fa;
}

.settings-section {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.settings-section.active {
    display: block;
}

.settings-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.settings-form {
    max-width: 600px;
}

.notification-options {
    margin-bottom: 2rem;
}

.option-item {
    margin-bottom: 1rem;
}

.security-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-actions button {
    text-align: left;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Validation Styles */
.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-hint {
    display: block;
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.field-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

input.invalid,
select.invalid,
textarea.invalid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

/* Responsive adjustments for dashboard and wizard */
@media (max-width: 900px) {
    .dashboard-header .container {
        padding: 0 1rem;
    }
    .dashboard-header .logo h1 {
        font-size: 1.1rem;
    }
    /* Keep sidebar visible (icon rail) instead of fully hidden */
    .dashboard-sidebar {
        width: 70px;
        transform: translateX(0);
    }
    .dashboard-sidebar.collapsed {
        width: 70px;
    }
    .dashboard-main {
        margin-left: 70px !important;
    }
    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .welcome-actions {
        width: 100%;
    }
    .stats-grid-modern,
    .dashboard-grid-modern,
    .summary-grid,
    .upload-grid,
    .transfer-card .form-grid {
        grid-template-columns: 1fr !important;
    }
    .wizard-progress {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    .wizard-progress .progress-step {
        min-width: 120px;
    }
    .dashboard-overlay.show {
        display: none;
    }
}

input.valid,
select.valid,
textarea.valid {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2) !important;
}

/* Top Error Message */
.top-error-message {
    background: #fff5f5;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    margin: 1rem;
    padding: 0;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
    animation: slideDown 0.3s ease-out;
}

.top-error-message .error-content {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
}

.top-error-message .error-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.top-error-message .error-text {
    flex: 1;
}

.top-error-message .error-text h4 {
    color: #e74c3c;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.top-error-message .error-text p {
    color: #c0392b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.top-error-message .error-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #e74c3c;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.top-error-message .error-close:hover {
    background-color: rgba(231, 76, 60, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #e9ecef;
    color: #495057;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid #e1e5e9;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* Application Details Styles */
.application-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid #e9ecef;
}

.detail-section h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 500;
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #495057;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-info strong {
    color: #6c757d;
    font-weight: 600;
    min-width: 120px;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
    }
}

/* Management Toolbar Styles */
.management-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.management-toolbar .search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.management-toolbar input[type="text"] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 200px;
}

.management-toolbar .filter-box select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    background: white;
}

/* Role and Status Badges */
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.role-admin {
    background: #e3f2fd;
    color: #1976d2;
}

.role-badge.role-user {
    background: #f3e5f5;
    color: #7b1fa2;
}

.role-badge.role-verifier {
    background: #e8f5e8;
    color: #388e3c;
}

.status-badge.status-active {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.status-suspended {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-success {
    background: #d4edda;
    color: #155724;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.report-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.report-card:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.report-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.report-card h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.report-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Report Options */
.report-options {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.report-options h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.form-group select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    background: white;
}

/* Responsive Management Toolbar */
@media (max-width: 768px) {
    .management-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .management-toolbar .search-box {
        justify-content: center;
    }
    
    .management-toolbar input[type="text"] {
        min-width: auto;
        width: 100%;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

/* Login/Signup Page Styles */
.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e1e5e9;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #007bff;
    background-color: #f8f9fa;
}

.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background-color: #f8f9fa;
}

.auth-form-container {
    animation: fadeIn 0.3s ease-in-out;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.terms-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Auth Notifications */
.auth-notification {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

.auth-notification-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.auth-notification-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.auth-notification-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-weight: 500;
    color: #155724;
}

.auth-notification-error .notification-message {
    color: #721c24;
}

.auth-notification-info .notification-message {
    color: #0c5460;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: inherit;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Form Field Validation */
input.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.field-error::before {
    content: "⚠️";
    font-size: 0.75rem;
}

/* Responsive Login/Signup */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .auth-tabs {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Insurance Verification Styles */
.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.user-info small {
    color: #6c757d;
    font-size: 0.8rem;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.document-icon {
    font-size: 1.2rem;
}

.document-name {
    flex: 1;
    font-size: 0.9rem;
    color: #495057;
}

.verification-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.document-verification {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.verification-notes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.verification-notes label {
    font-weight: 600;
    color: #495057;
}

.verification-notes textarea {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
}

.verification-notes textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Insurance Notification Styles */
.insurance-notification {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

.insurance-notification-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.insurance-notification-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.insurance-notification-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
}

/* Status Badge Styles for Insurance */
.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.status-processing {
    background: #cce5ff;
    color: #004085;
}

/* Document Viewer Styles */
.document-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.document-preview-content {
    padding: 2rem;
    text-align: center;
}

.document-header {
    margin-bottom: 2rem;
}

.document-header h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
}

.document-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.field-label {
    font-weight: 600;
    color: #495057;
}

.field-value {
    color: #2c3e50;
    font-weight: 500;
}

.document-status {
    margin-top: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

.status-icon {
    font-size: 1.2rem;
}

.status-text {
    font-weight: 600;
}

.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-state h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-state p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.qr-placeholder.verified {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.verification-result {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.verification-result p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Insurance Verifier Dashboard Layout Fixes */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.1;
}

.user-role {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.1;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    height: 100%;
    align-items: stretch;
}

.user-actions .btn-secondary {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
    white-space: nowrap;
    height: auto;
}

/* Table Layout Improvements */
#insuranceVerificationTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

#insuranceVerificationTable th {
    background: #f8f9fa;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

#insuranceVerificationTable td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

#insuranceVerificationTable tr:hover {
    background-color: #f8f9fa;
}

/* User Information Column */
.user-info-cell {
    min-width: 200px;
}

.user-info-cell strong {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.user-info-cell small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Vehicle Details Column */
.vehicle-info-cell {
    min-width: 180px;
}

.vehicle-info-cell strong {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.vehicle-info-cell small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Document Info Column */
.document-info-cell {
    min-width: 200px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    margin-bottom: 0.5rem;
}

.document-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.document-name {
    flex: 1;
    font-size: 0.85rem;
    color: #495057;
    word-break: break-all;
}

/* Actions Column */
.actions-cell {
    min-width: 120px;
}

.actions-cell .btn-sm {
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    text-align: center;
}

.actions-cell .btn-sm:last-child {
    margin-bottom: 0;
}

/* Status Column */
.status-cell {
    text-align: center;
    min-width: 100px;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Application ID Column */
.app-id-cell {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #007bff;
    min-width: 120px;
}

/* Date Column */
.date-cell {
    text-align: center;
    min-width: 100px;
    color: #6c757d;
}

/* Responsive Table */
@media (max-width: 1200px) {
    .table-container {
        overflow-x: auto;
    }
    
    #insuranceVerificationTable {
        min-width: 1000px;
    }
}

@media (max-width: 768px) {
    .user-info {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
        margin-left: 0;
    }
    
    .user-profile {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .user-details {
        text-align: center;
    }
    
    .user-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .user-actions .btn-secondary {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
        min-width: 60px;
    }
}

/* Single card layout for insurance verification */
.dashboard-grid:has(.dashboard-card:only-child) {
    display: flex;
    justify-content: flex-start;
}

.dashboard-grid:has(.dashboard-card:only-child) .dashboard-card {
    max-width: 400px;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   HPG ADMIN MODULE STYLES
   ============================================ */

/* Login Buttons Grid */
.login-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.login-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.login-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #1e40af;
}

.login-button-hpg {
    border-color: #dc2626;
}

.login-button-hpg:hover {
    border-color: #dc2626;
    background: #fef2f2;
}

.login-icon {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.login-button-hpg .login-icon {
    color: #dc2626;
}

.login-button h3 {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.login-button p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: #1e40af;
    color: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    transition: all 0.3s;
    z-index: 1000;
}

.dashboard-sidebar.collapsed {
    width: 70px;
}

.dashboard-sidebar.no-transition {
    transition: none !important;
}

.dashboard-sidebar.no-transition ~ .dashboard-main {
    transition: none !important;
}

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

.sidebar-header .logo h2 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.sidebar-header .logo p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.sidebar-nav {
    padding: 1rem 0;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 200px; /* Space for footer */
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

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

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

.nav-item i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.nav-item .badge {
    margin-left: auto;
    background: #dc2626;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-main {
    margin-left: 260px;
    transition: all 0.3s;
}

.dashboard-sidebar.collapsed ~ .dashboard-main {
    margin-left: 70px;
}

/* Dashboard Header */
.dashboard-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.header-left h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notifications-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.3rem;
    color: #333;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e40af;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.user-menu-btn {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.5rem;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 150px;
    display: none;
}

.user-menu:hover .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.user-menu-dropdown a:hover {
    background: #f8f9fa;
}

/* Stat Cards with Icons */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-card-pending .stat-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.stat-card-verified .stat-icon {
    background: #d1fae5;
    color: #10b981;
}

.stat-card-completed .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-card-rejected .stat-icon {
    background: #fee2e2;
    color: #ef4444;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

.stat-change.neutral {
    color: #7f8c8d;
}

/* Quick Actions */
.quick-actions {
    margin: 2rem 0;
}

.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.action-button:hover {
    transform: translateX(5px);
    border-color: #1e40af;
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.15);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #dbeafe;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    margin: 0 0 0.3rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.action-content p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.action-arrow {
    color: #7f8c8d;
    font-size: 1.2rem;
}

/* Notifications */
.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #eff6ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 0.3rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.notification-content p {
    margin: 0 0 0.3rem 0;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.notification-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Activity Log Preview */
.activity-log-preview {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.verified {
    background: #d1fae5;
    color: #10b981;
}

.activity-icon.pending {
    background: #fef3c7;
    color: #f59e0b;
}

.activity-icon.released {
    background: #dbeafe;
    color: #3b82f6;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    margin: 0 0 0.3rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.activity-content p {
    margin: 0 0 0.3rem 0;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.activity-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.page-title-section h2 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.page-title-section p {
    margin: 0;
    color: #7f8c8d;
}

.page-actions {
    display: flex;
    gap: 1rem;
}

/* Filters Section */
.filters-section {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 0.9rem;
}

.filter-group input[type="text"] {
    min-width: 250px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-plate {
    background: #dbeafe;
    color: #1e40af;
}

.badge-purpose {
    background: #fef3c7;
    color: #f59e0b;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.action-verified {
    background: #d1fae5;
    color: #10b981;
}

.action-rejected {
    background: #fee2e2;
    color: #ef4444;
}

.action-released {
    background: #dbeafe;
    color: #3b82f6;
}

.action-received {
    background: #fef3c7;
    color: #f59e0b;
}

/* Verification Form */
.verification-form {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-badge {
    padding: 0.3rem 0.8rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input[readonly],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.form-group input[readonly] {
    background: #f8f9fa;
    color: #7f8c8d;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.checkbox-text small {
    display: block;
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Upload Section */
.upload-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.upload-group {
    margin-bottom: 1.5rem;
}

.upload-area {
    position: relative;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #1e40af;
    background: #f8f9ff;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-content {
    pointer-events: none;
}

.upload-content i {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.upload-content p {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.upload-content small {
    color: #7f8c8d;
}

.uploaded-files {
    margin-top: 1rem;
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.uploaded-file-item i {
    color: #1e40af;
}

.uploaded-file-item span {
    flex: 1;
    color: #2c3e50;
}

.remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.3rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.form-actions button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

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

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.banner-icon {
    font-size: 2rem;
}

.banner-text h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.2rem;
}

.banner-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Certificate Section */
.certificate-section {
    margin-top: 2rem;
}

.certificate-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-group {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
}

.option-group:hover {
    border-color: #1e40af;
    background: #f8f9ff;
}

.option-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
}

.option-group small {
    display: block;
    margin-top: 0.5rem;
    margin-left: 1.8rem;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.certificate-preview {
    margin-top: 2rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preview-header h4 {
    margin: 0;
    color: #2c3e50;
}

.preview-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.certificate-template {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cert-header {
    text-align: center;
    border-bottom: 3px solid #1e40af;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.cert-header h2 {
    margin: 0 0 0.5rem 0;
    color: #1e40af;
    font-size: 1.8rem;
}

.cert-header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 1rem;
}

.cert-body {
    margin-bottom: 2rem;
}

.cert-field {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cert-field:last-child {
    border-bottom: none;
}

.cert-field label {
    font-weight: 600;
    color: #2c3e50;
}

.cert-field span {
    color: #7f8c8d;
}

.cert-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.cert-footer p {
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.cert-signature {
    margin-top: 3rem;
}

.signature-line {
    width: 200px;
    height: 1px;
    background: #333;
    margin: 0 auto 0.5rem;
}

.cert-signature p {
    margin: 0.3rem 0;
    color: #2c3e50;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-item label {
    display: block;
    font-weight: 600;
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.summary-item span {
    display: block;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.page-info {
    color: #7f8c8d;
    font-weight: 600;
}

/* Modal Enhancements */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
}

.request-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: #2c3e50;
}

.detail-row span {
    color: #7f8c8d;
}

.confirmation-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.confirmation-details p {
    margin: 0.5rem 0;
    color: #2c3e50;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.card-header h3 {
    margin: 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.collapsed {
        transform: translateX(0);
        width: 70px;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .login-buttons-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
    }

    .filters-section {
        flex-direction: column;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group input[type="text"] {
        min-width: 100%;
    }
}

/* HPG Sidebar Logo Icon Styles */
.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s;
}

.logo-text {
    flex: 1;
    transition: all 0.3s;
    overflow: hidden;
}

.sidebar-header .logo h2 {
    white-space: nowrap;
}

.sidebar-header .logo p {
    white-space: nowrap;
}

/* Collapsed Sidebar Styles */
.dashboard-sidebar.collapsed .logo-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.dashboard-sidebar.collapsed .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin: 0 auto;
}

.dashboard-sidebar.collapsed .sidebar-header {
    padding: 1.5rem 0.5rem;
    display: flex;
    justify-content: center;
}

.dashboard-sidebar.collapsed .logo {
    flex-direction: column;
    gap: 0;
}

.dashboard-sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.dashboard-sidebar.collapsed .nav-item span {
    display: none;
}

.dashboard-sidebar.collapsed .nav-item i {
    margin-right: 0;
    font-size: 1.3rem;
}

.dashboard-sidebar.collapsed .nav-item .badge {
    display: none;
}

.nav-item i {
    flex-shrink: 0;
    text-align: center;
}

/* Notification Styles */
.notification-item.unread {
    background-color: #f8f9ff;
    border-left: 4px solid #007bff;
    animation: pulse 2s infinite;
}

.notification-item.read {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    opacity: 0.8;
}

.notification-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.notification-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

/* Toast Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Success Animation */
@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-animation {
    animation: successPulse 0.5s ease-out;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .dashboard-header,
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    .pagination,
    .management-toolbar {
        display: none !important;
    }
    
    .dashboard-card,
    .table-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .table {
        border-collapse: collapse;
    }
    
    .table th,
    .table td {
        border: 1px solid #ddd;
        padding: 0.5rem;
    }
    
    .page-break {
        page-break-after: always;
    }
}

/* Document Viewer Enhancements */
.document-viewer-container {
    width: 100%;
    height: 600px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
    background: #f8f9fa;
}

.document-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.document-fallback {
    padding: 2rem;
    text-align: center;
    background: #fff;
}

.document-selector {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.document-selector h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
}

.document-item:hover {
    background: #e9ecef;
    border-color: #3498db;
    transform: translateX(5px);
}

.document-item.selected {
    background: #e3f2fd;
    border-color: #3498db;
    font-weight: 600;
}

.doc-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.doc-name {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
}

.doc-filename {
    color: #7f8c8d;
    font-size: 0.9rem;
    flex: 2;
}

.doc-selected {
    color: #3498db;
    font-weight: bold;
    margin-left: auto;
}

.document-viewer-section {
    margin-top: 2rem;
}

.document-actions-preview {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.document-actions-preview .btn-primary,
.document-actions-preview .btn-secondary {
    padding: 0.75rem 1.5rem;
}

.document-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Loading spinner for document viewer */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   HPG ADMIN MODULE STYLES
   ============================================ */

/* Login Buttons Grid */
.login-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.login-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.login-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #1e40af;
}

.login-button-hpg {
    border-color: #dc2626;
}

.login-button-hpg:hover {
    border-color: #dc2626;
    background: #fef2f2;
}

.login-icon {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.login-button-hpg .login-icon {
    color: #dc2626;
}

.login-button h3 {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.login-button p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: #1e40af;
    color: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    transition: all 0.3s;
    z-index: 1000;
}

.dashboard-sidebar.collapsed {
    width: 70px;
}

.dashboard-sidebar.no-transition {
    transition: none !important;
}

.dashboard-sidebar.no-transition ~ .dashboard-main {
    transition: none !important;
}

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

.sidebar-header .logo h2 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.sidebar-header .logo p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.sidebar-nav {
    padding: 1rem 0;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 200px; /* Space for footer */
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

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

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

.nav-item i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.nav-item .badge {
    margin-left: auto;
    background: #dc2626;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-main {
    margin-left: 260px;
    transition: all 0.3s;
}

.dashboard-sidebar.collapsed ~ .dashboard-main {
    margin-left: 70px;
}

/* Dashboard Header */
.dashboard-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.header-left h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notifications-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.3rem;
    color: #333;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e40af;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.user-menu-btn {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.5rem;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 150px;
    display: none;
}

.user-menu:hover .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.user-menu-dropdown a:hover {
    background: #f8f9fa;
}

/* Stat Cards with Icons */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-card-pending .stat-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.stat-card-verified .stat-icon {
    background: #d1fae5;
    color: #10b981;
}

.stat-card-completed .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-card-rejected .stat-icon {
    background: #fee2e2;
    color: #ef4444;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

.stat-change.neutral {
    color: #7f8c8d;
}

/* Quick Actions */
.quick-actions {
    margin: 2rem 0;
}

.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.action-button:hover {
    transform: translateX(5px);
    border-color: #1e40af;
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.15);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #dbeafe;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    margin: 0 0 0.3rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.action-content p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.action-arrow {
    color: #7f8c8d;
    font-size: 1.2rem;
}

/* Notifications */
.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #eff6ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 0.3rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.notification-content p {
    margin: 0 0 0.3rem 0;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.notification-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Activity Log Preview */
.activity-log-preview {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.verified {
    background: #d1fae5;
    color: #10b981;
}

.activity-icon.pending {
    background: #fef3c7;
    color: #f59e0b;
}

.activity-icon.released {
    background: #dbeafe;
    color: #3b82f6;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    margin: 0 0 0.3rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.activity-content p {
    margin: 0 0 0.3rem 0;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.activity-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.page-title-section h2 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.page-title-section p {
    margin: 0;
    color: #7f8c8d;
}

.page-actions {
    display: flex;
    gap: 1rem;
}

/* Filters Section */
.filters-section {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 0.9rem;
}

.filter-group input[type="text"] {
    min-width: 250px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-plate {
    background: #dbeafe;
    color: #1e40af;
}

.badge-purpose {
    background: #fef3c7;
    color: #f59e0b;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.action-verified {
    background: #d1fae5;
    color: #10b981;
}

.action-rejected {
    background: #fee2e2;
    color: #ef4444;
}

.action-released {
    background: #dbeafe;
    color: #3b82f6;
}

.action-received {
    background: #fef3c7;
    color: #f59e0b;
}

/* Verification Form */
.verification-form {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-badge {
    padding: 0.3rem 0.8rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input[readonly],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.form-group input[readonly] {
    background: #f8f9fa;
    color: #7f8c8d;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.checkbox-text small {
    display: block;
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Upload Section */
.upload-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.upload-group {
    margin-bottom: 1.5rem;
}

.upload-area {
    position: relative;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #1e40af;
    background: #f8f9ff;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-content {
    pointer-events: none;
}

.upload-content i {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.upload-content p {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.upload-content small {
    color: #7f8c8d;
}

.uploaded-files {
    margin-top: 1rem;
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.uploaded-file-item i {
    color: #1e40af;
}

.uploaded-file-item span {
    flex: 1;
    color: #2c3e50;
}

.remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.3rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.form-actions button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

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

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.banner-icon {
    font-size: 2rem;
}

.banner-text h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.2rem;
}

.banner-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Certificate Section */
.certificate-section {
    margin-top: 2rem;
}

.certificate-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-group {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
}

.option-group:hover {
    border-color: #1e40af;
    background: #f8f9ff;
}

.option-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
}

.option-group small {
    display: block;
    margin-top: 0.5rem;
    margin-left: 1.8rem;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.certificate-preview {
    margin-top: 2rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preview-header h4 {
    margin: 0;
    color: #2c3e50;
}

.preview-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.certificate-template {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cert-header {
    text-align: center;
    border-bottom: 3px solid #1e40af;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.cert-header h2 {
    margin: 0 0 0.5rem 0;
    color: #1e40af;
    font-size: 1.8rem;
}

.cert-header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 1rem;
}

.cert-body {
    margin-bottom: 2rem;
}

.cert-field {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cert-field:last-child {
    border-bottom: none;
}

.cert-field label {
    font-weight: 600;
    color: #2c3e50;
}

.cert-field span {
    color: #7f8c8d;
}

.cert-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.cert-footer p {
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.cert-signature {
    margin-top: 3rem;
}

.signature-line {
    width: 200px;
    height: 1px;
    background: #333;
    margin: 0 auto 0.5rem;
}

.cert-signature p {
    margin: 0.3rem 0;
    color: #2c3e50;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-item label {
    display: block;
    font-weight: 600;
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.summary-item span {
    display: block;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.page-info {
    color: #7f8c8d;
    font-weight: 600;
}

/* Modal Enhancements */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
}

.request-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: #2c3e50;
}

.detail-row span {
    color: #7f8c8d;
}

.confirmation-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.confirmation-details p {
    margin: 0.5rem 0;
    color: #2c3e50;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.card-header h3 {
    margin: 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.collapsed {
        transform: translateX(0);
        width: 70px;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .login-buttons-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
    }

    .filters-section {
        flex-direction: column;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group input[type="text"] {
        min-width: 100%;
    }
}

/* HPG Sidebar Logo Icon Styles */
.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s;
}

.logo-text {
    flex: 1;
    transition: all 0.3s;
    overflow: hidden;
}

.sidebar-header .logo h2 {
    white-space: nowrap;
}

.sidebar-header .logo p {
    white-space: nowrap;
}

/* Collapsed Sidebar Styles */
.dashboard-sidebar.collapsed .logo-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.dashboard-sidebar.collapsed .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin: 0 auto;
}

.dashboard-sidebar.collapsed .sidebar-header {
    padding: 1.5rem 0.5rem;
    display: flex;
    justify-content: center;
}

.dashboard-sidebar.collapsed .logo {
    flex-direction: column;
    gap: 0;
}

.dashboard-sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.dashboard-sidebar.collapsed .nav-item span {
    display: none;
}

.dashboard-sidebar.collapsed .nav-item i {
    margin-right: 0;
    font-size: 1.3rem;
}

.dashboard-sidebar.collapsed .nav-item .badge {
    display: none;
}

.nav-item i {
    flex-shrink: 0;
    text-align: center;
}

/* Sidebar Footer with User Info */
.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.sidebar-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-action-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-action-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-action-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sidebar-action-item:last-child {
    color: rgba(255, 200, 200, 0.9);
}

.sidebar-action-item:last-child:hover {
    background: rgba(220, 38, 38, 0.2);
    color: #fecaca;
}

/* Collapsed sidebar footer styles */
.dashboard-sidebar.collapsed .sidebar-footer {
    padding: 1rem 0.5rem;
}

.dashboard-sidebar.collapsed .sidebar-user-profile {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
}

.dashboard-sidebar.collapsed .sidebar-user-details {
    display: none;
}

.dashboard-sidebar.collapsed .sidebar-user-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
}

.dashboard-sidebar.collapsed .sidebar-action-item {
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

.dashboard-sidebar.collapsed .sidebar-action-item span {
    display: none;
}

.dashboard-sidebar.collapsed .sidebar-action-item i {
    margin: 0;
    font-size: 1.1rem;
}

/* Compact Header Styles */
.dashboard-header {
    padding: 0.5rem 1.5rem !important;
}

.dashboard-header .logo h1 {
    font-size: 1.4rem !important;
    margin-bottom: 0.1rem !important;
    line-height: 1.2 !important;
}

.dashboard-header .logo p {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.dashboard-header .dashboard-nav {
    gap: 1rem !important;
}

.dashboard-header .user-info {
    gap: 0.75rem !important;
}

.dashboard-header .user-avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
}

.dashboard-header .user-details {
    gap: 0.05rem !important;
}

.dashboard-header .user-name {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
}

.dashboard-header .user-role {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
}

.dashboard-header .btn-secondary {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.85rem !important;
}

.dashboard-header .sidebar-toggle {
    font-size: 1.3rem !important;
    padding: 0.25rem 0.5rem !important;
}

/* LTO Workflow Actions */
.workflow-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.workflow-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.workflow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.workflow-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.workflow-btn span {
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
}

.workflow-btn small {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.workflow-btn-emission {
    border-color: #27ae60;
}

.workflow-btn-emission:hover {
    background: #f0f9f4;
    border-color: #27ae60;
}

.workflow-btn-emission i {
    color: #27ae60;
}

.workflow-btn-insurance {
    border-color: #3498db;
}

.workflow-btn-insurance:hover {
    background: #f0f8ff;
    border-color: #3498db;
}

.workflow-btn-insurance i {
    color: #3498db;
}

.workflow-btn-hpg {
    border-color: #e67e22;
}

.workflow-btn-hpg:hover {
    background: #fef5e7;
    border-color: #e67e22;
}

.workflow-btn-hpg i {
    color: #e67e22;
}

.workflow-btn-finalize {
    border-color: #27ae60;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.workflow-btn-finalize:hover:not(:disabled) {
    background: linear-gradient(135deg, #229954, #27ae60);
    border-color: #229954;
}

.workflow-btn-finalize:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e9ecef;
    border-color: #ced4da;
}

.workflow-btn-finalize:disabled span,
.workflow-btn-finalize:disabled small {
    color: #95a5a6;
}

.workflow-btn-finalize.enabled {
    opacity: 1;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-color: #27ae60;
}

.workflow-btn-finalize.enabled span,
.workflow-btn-finalize.enabled small {
    color: white;
}

/* Received Documents Section */
.received-docs-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.received-doc-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.received-doc-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.doc-header i {
    font-size: 2rem;
}

.doc-info h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.doc-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.doc-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.loading-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff3cd;
    color: #856404;
    border-radius: 5px;
    font-size: 0.85rem;
}

.loading-badge i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Progress Timeline Styles */
.progress-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 3rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: #e9ecef;
    z-index: 0;
}

.timeline-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 1;
    position: relative;
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
}

.timeline-icon.completed {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
}

.timeline-icon.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    animation: pulse 2s infinite;
}

.timeline-icon.pending {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

.timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.timeline-content p {
    margin: 0 0 0.25rem 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.timeline-date {
    font-size: 0.85rem;
    color: #95a5a6;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Request Item Styles */
.request-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.request-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.request-header i {
    font-size: 2rem;
}

.request-info h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.request-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.result-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.result-preview i {
    font-size: 2rem;
}

.preview-info h4 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
}

.preview-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.approve-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 0.95rem;
}

.form-group .hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Logo Image */
.logo-image {
    display: block;
    height: 42px;
    width: auto;
}

.sidebar-header .logo-image {
    height: 52px;
}

.dashboard-header .logo-image {
    height: 42px;
}

.dashboard-header .nav-left .logo {
    cursor: default;
}

#logoToggle {
    cursor: pointer;
}

/* Sidebar mobile overlay */
.dashboard-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

/* Transfer of Ownership Styles */
.transfer-progress .progress-step.active .step-number {
    background: linear-gradient(135deg, #0057D9, #F7C600);
    color: white;
}

.transfer-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.transfer-card .card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, rgba(0, 87, 217, 0.05), rgba(247, 198, 0, 0.05));
}

.transfer-card .card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.transfer-card .card-title h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #1f2937;
}

.transfer-card .card-title p {
    margin: 0.15rem 0 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.transfer-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0057D9, #F7C600);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.transfer-card .card-body {
    padding: 1.5rem;
}

.transfer-card .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.transfer-card .form-group input,
.transfer-card .form-group select,
.transfer-card .form-group textarea {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.8rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.transfer-card .form-group input:focus,
.transfer-card .form-group select:focus,
.transfer-card .form-group textarea:focus {
    border-color: #0057D9;
    box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.15);
    outline: none;
}

.wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.upload-card {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-drop {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 1.25rem;
    background: white;
    text-align: center;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.file-drop i {
    font-size: 1.5rem;
    color: #0057D9;
}

.file-drop span {
    color: #0057D9;
    font-weight: 600;
    cursor: pointer;
}

.upload-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.upload-progress {
    background: #e5e7eb;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.upload-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #0057D9, #F7C600);
    transition: width 0.3s;
}

.upload-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-card-transfer,
.btn-card-transfer:hover {
    background: linear-gradient(135deg, #0057D9, #F7C600);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 87, 217, 0.2);
}

.action-card-transfer .card-icon-modern {
    background: linear-gradient(135deg, #0057D9, #F7C600);
    color: white;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.summary-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.summary-card h4 {
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f2937;
}

.summary-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #4b5563;
}

.summary-card li {
    margin-bottom: 0.3rem;
}

.confirmation-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: #ecfdf3;
    color: #065f46;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid #a7f3d0;
}

.wizard-error {
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecdd3;
    display: none;
}

.wizard-error.show {
    display: block;
}

.transfer-card .form-group input.invalid,
.transfer-card .form-group select.invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* ============================================
   DASHBOARD NAVBAR ALIGNMENT FIXES
   ============================================ */

/* Fix navbar structure and remove extra spacing */
.dashboard-header {
    padding: 0 !important;
    margin: 0 !important;
}

.dashboard-header .container {
    padding: 0 1.5rem !important;
    margin: 0 !important;
}

.dashboard-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0.75rem 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dashboard-header .logo {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.dashboard-header .logo h1 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.5rem !important;
    color: #2c3e50 !important;
    line-height: 1.2 !important;
}

.dashboard-header .logo p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    color: #7f8c8d !important;
    line-height: 1.2 !important;
}

.sidebar-toggle {
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: #333 !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.user-info {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.user-menu {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.user-profile {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding: 0.5rem 0.75rem !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease !important;
}

.user-profile:hover {
    background-color: #f3f4f6 !important;
}

.user-profile .dropdown-arrow {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    transition: transform 0.2s ease !important;
    margin-left: 0.25rem !important;
}

.user-menu.show .user-profile .dropdown-arrow {
    transform: rotate(180deg) !important;
}

.user-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #1e40af !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.user-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.user-name {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.user-role {
    font-size: 0.8rem !important;
    color: #7f8c8d !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.user-menu-dropdown {
    position: fixed !important;
    top: 60px !important;
    bottom: auto !important;
    right: 0 !important;
    left: auto !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px 0 0 8px !important;
    padding: 0.5rem !important;
    min-width: 180px !important;
    display: none !important;
    z-index: 1000 !important;
    border: 1px solid #e5e7eb !important;
    border-right: none !important;
}

.user-menu-dropdown.show {
    display: block !important;
}

.user-menu-dropdown .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    color: #374151 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.user-menu-dropdown .dropdown-item:hover {
    background-color: #f3f4f6 !important;
    color: #1e40af !important;
}

.user-menu-dropdown .dropdown-item i {
    width: 18px !important;
    text-align: center !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
}

.user-menu-dropdown .dropdown-item:hover i {
    color: #1e40af !important;
}

.user-menu-dropdown .dropdown-item:last-child {
    border-top: 1px solid #e5e7eb !important;
    margin-top: 0.25rem !important;
    padding-top: 0.75rem !important;
}

.user-menu-dropdown .dropdown-item:last-child:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

.user-menu-dropdown .dropdown-item:last-child:hover i {
    color: #dc2626 !important;
}

/* ============================================
   MODERN OWNER DASHBOARD REDESIGN STYLES
   ============================================ */

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.welcome-content {
    flex: 1;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.welcome-title span {
    color: #ffd700;
}

.welcome-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

.welcome-actions {
    margin-left: 2rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Modern Stats Grid */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card-modern {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--stat-color, #3b82f6);
    transition: width 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-card-modern:hover::before {
    width: 6px;
}

.stat-card-primary {
    --stat-color: #3b82f6;
}

.stat-card-warning {
    --stat-color: #f59e0b;
}

.stat-card-success {
    --stat-color: #10b981;
}

.stat-card-info {
    --stat-color: #8b5cf6;
}

.stat-icon-wrapper {
    flex-shrink: 0;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: var(--stat-color, #3b82f6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.stat-card-warning .stat-icon {
    background: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.stat-card-success .stat-icon {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stat-card-info .stat-icon {
    background: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.stat-content-modern {
    flex: 1;
    min-width: 0;
}

.stat-number-modern {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-label-modern {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.stat-trend i {
    font-size: 0.7rem;
}

/* Section Headers */
.section-header {
    margin: 3rem 0 1.5rem 0;
}

.section-header:first-of-type {
    margin-top: 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Modern Dashboard Grid */
.dashboard-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.dashboard-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.dashboard-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Action Cards */
.action-card-primary .card-icon-modern {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.action-card-secondary .card-icon-modern {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.action-card-info .card-icon-modern {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.action-card-success .card-icon-modern {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.card-header-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon-modern {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header-modern h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.card-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-card-primary,
.btn-card-secondary,
.btn-card-info,
.btn-card-success {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.btn-card-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-card-primary:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-card-secondary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-card-secondary:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.btn-card-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-card-info:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.btn-card-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-card-success:hover:not(:disabled) {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-card-success:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modern Progress Timeline */
.timeline-card {
    margin-bottom: 2.5rem;
}

.progress-timeline-modern {
    position: relative;
    padding: 1rem 0;
}

.timeline-item-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 0.5rem;
}

.timeline-item-modern:last-child {
    margin-bottom: 0;
}

.timeline-item-modern:last-child .timeline-connector {
    display: none;
}

.timeline-connector {
    position: absolute;
    left: 1.75rem;
    top: 3.5rem;
    width: 2px;
    height: calc(100% + 0.5rem);
    background: #e5e7eb;
    z-index: 0;
}

.timeline-item-modern.completed .timeline-connector {
    background: linear-gradient(180deg, #10b981 0%, #e5e7eb 100%);
}

.timeline-item-modern.active .timeline-connector {
    background: linear-gradient(180deg, #3b82f6 0%, #e5e7eb 100%);
}

.timeline-icon-modern {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-item-modern.completed .timeline-icon-modern {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.timeline-item-modern.pending .timeline-icon-modern {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
}

.timeline-item-modern.active .timeline-icon-modern {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
    }
}

.timeline-content-modern {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content-modern h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.375rem 0;
}

.timeline-content-modern p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.timeline-date-modern {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Modern Table Styles */
.table-card {
    margin-bottom: 2.5rem;
}

.table-container-modern {
    overflow-x: auto;
    border-radius: 12px;
}

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

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

.table-modern th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e5e7eb;
}

.table-modern td {
    padding: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    color: #1f2937;
    font-size: 0.95rem;
}

.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background: #f9fafb;
    transform: scale(1.01);
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}

/* Modern Notifications */
.notifications-card {
    margin-bottom: 2.5rem;
}

.notifications-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.notifications-list-modern::-webkit-scrollbar {
    width: 6px;
}

.notifications-list-modern::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 10px;
}

.notifications-list-modern::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.notifications-list-modern::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.notification-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notification-item.unread {
    background: white;
    border-left-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.notification-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notification-item.read {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }

    .welcome-actions {
        margin-left: 0;
        width: 100%;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .stats-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dashboard-grid-modern {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .timeline-item-modern {
        gap: 1rem;
    }

    .timeline-icon-modern {
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
    }

    .table-container-modern {
        overflow-x: scroll;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 1.5rem;
    }

    .welcome-title {
        font-size: 1.25rem;
    }

    .welcome-subtitle {
        font-size: 0.95rem;
    }

    .stat-card-modern {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .stat-number-modern {
        font-size: 1.75rem;
    }

    .dashboard-card-modern {
        padding: 1.5rem;
    }

    .card-header-modern h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   ADMIN TRANSFER OF OWNERSHIP STYLES
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.breadcrumb a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #bdc3c7;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 500;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
}

.page-header h2 {
    color: #2c3e50;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.page-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
}

.page-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: #7f8c8d;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 300px;
    transition: border-color 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Filter Panel */
.filter-panel {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    grid-column: 1 / -1;
}

/* Bulk Actions */
.bulk-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #e3f2fd;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.bulk-actions span {
    font-weight: 600;
    color: #1e40af;
}

.bulk-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Status Badge Large */
.status-badge-large {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

/* Info Grid */
.info-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item label {
    font-weight: 500;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.info-item p {
    color: #2c3e50;
    margin: 0;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.document-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.2s;
}

.document-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1e40af;
}

.document-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.document-info h4 {
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.document-info .document-type {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

/* Details Layout */
.details-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.details-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Action Panel (Sticky) */
.action-panel {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Verification Layout */
.verification-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.verification-viewer {
    min-height: 600px;
}

.viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.viewer-header h3 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
}

.viewer-header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.viewer-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.viewer-controls span {
    font-weight: 500;
    color: #2c3e50;
    min-width: 50px;
    text-align: center;
}

.document-viewer {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.document-placeholder {
    text-align: center;
    color: #7f8c8d;
}

.document-placeholder p {
    margin: 0.5rem 0;
}

/* Verification Tools */
.verification-tools {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.verification-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.verification-checklist {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.verification-checklist h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    cursor: pointer;
}

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

.checkbox-label span {
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Verification History */
.verification-history {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ecf0f1;
}

.verification-history h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.history-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon.approved {
    background: #d1fae5;
    color: #059669;
}

.history-icon.rejected {
    background: #fee2e2;
    color: #dc2626;
}

.history-icon.pending {
    background: #fef3c7;
    color: #d97706;
}

.history-content p {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

.history-content small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Form Control */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ecf0f1;
}

.pagination-info {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .details-layout {
        grid-template-columns: 1fr;
    }

    .action-panel {
        position: static;
    }

    .verification-layout {
        grid-template-columns: 1fr;
    }
}

/* Admin Welcome Section */
.welcome-section-admin {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.welcome-section-admin .welcome-content {
    max-width: 100%;
}

.welcome-section-admin .welcome-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.welcome-section-admin .welcome-title span {
    color: #fbbf24;
}

.welcome-section-admin .welcome-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
    }

    .page-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
    }

    .info-grid-2col {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .welcome-section-admin {
        padding: 1.5rem;
    }

    .welcome-section-admin .welcome-title {
        font-size: 1.5rem;
    }
}

