:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
}

* {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;

}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 150px);
}

.sidebar {
    width: 250px;
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 0;
}

.user-profile, .admin-profile {
    text-align: center;
    padding: 0 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.user-profile img, .admin-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-item:hover, .nav-item.active {
    background-color: rgba(255,255,255,0.1);
}

.badge {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.main-content {
    flex: 1;
    padding: 2rem;
    background-color: #f9f9f9;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

/* Stats Cards */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Application Cards */
.applications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-card {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.application-date {
    color: #777;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-under_review {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* Messages */
.messages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.messages-list {
    max-height: 400px;
    overflow-y: auto;
}

.message-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.message-item.unread {
    background-color: #c5e0f8;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

.message-sender {
    font-weight: 500;
}

.message-time {
    font-size: 0.8rem;
    color: #fff9f9;
}

.message-content {
    margin-top: 0.5rem;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.activity-content h4 {
    margin-bottom: 0.5rem;
}

.activity-date {
    color: #777;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .messages-container {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}


/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.auth-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.btn-block {
    width: 100%;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Settings Styles */
.settings-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.field-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.field-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    min-width: 100px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
}

.current-logo {
    margin-bottom: 1rem;
}

/* Data Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}


/* Simplified Login Styles */
.auth-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1rem;
}

.auth-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.login-header .logo i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.login-header .logo h2 {
    color: var(--secondary-color);
    margin: 0;
}

.login-header p {
    color: #666;
    margin: 0;
}

.login-form {
    margin-bottom: 1.5rem;
}

.login-footer {
    text-align: center;
}

.login-footer p {
    margin: 0.5rem 0;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Remove the info section from the original design */
.login-info {
    display: none;
}










/* User Messages Styles */
.user-messages-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.conversation-header {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.admin-avatar {
    background-color: var(--secondary-color);
    font-size: 1.2rem;
}

.user-info h3 {
    margin: 0 0 0.2rem;
    color: var(--secondary-color);
}

.user-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.conversation-messages {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    background-color: #fafafa;
}

.message-bubble {
    margin-bottom: 1rem;
    display: flex;
}

.message-bubble.sent {
    justify-content: flex-end;
}

.message-bubble.received {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 12px;
    position: relative;
}

.message-bubble.sent .message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-bubble.received .message-content {
    background-color: #e56526;
    color: #ffffff;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.message-subject {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.message-bubble.received .message-subject {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.message-time {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.message-bubble.received .message-time {
    justify-content: flex-start;
}

.read-indicator {
    margin-left: 0.5rem;
    color: #4CAF50;
}

.empty-conversation {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-conversation i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-conversation h3 {
    margin: 0 0 1rem;
    color: #666;
}

.empty-conversation p {
    margin: 0;
}

.conversation-composer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background-color: white;
}

.message-form .form-group {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .message-content {
        max-width: 85%;
    }
    
    .conversation-header {
        padding: 1rem;
    }
    
    .conversation-messages {
        padding: 1rem;
        max-height: 300px;
    }
    
    .conversation-composer {
        padding: 1rem;
    }
}








.filter-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.form-control-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 38px;
}

.form-control-sm:focus {
    border-color: #3498db;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-admin-sm {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
}

.btn-admin-primary {
    color: #fff;
    background-color: #3498db;
    border-color: #3498db;
}

.btn-admin-primary:hover {
    color: #fff;
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-1px);
}

.btn-admin-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.5);
}

.btn-admin-primary:active {
    background-color: #2471a3;
    border-color: #2471a3;
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-control-sm,
    .btn-admin {
        width: 100%;
    }
}
















.file-list-container {
    max-width: 900px;
    margin: 30px auto;
    background: #f7f9fc;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.file-list-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00a3e7;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
}

.file-table th, .file-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.file-table th {
    background-color: #00a3e7;
    color: #fff;
    border-radius: 4px;
}

.file-table tr:hover {
    background-color: #f1f5f9;
}

.btn-view {
    padding: 6px 12px;
    background-color: #00a3e7;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s, transform 0.3s;
}

.btn-view:hover {
    background-color: #e56526;
    transform: scale(1.05);
}

@media(max-width: 768px){
    .file-table th, .file-table td{
        padding: 8px 5px;
    }
}















.file-list-container {
    max-width: 900px;
    margin: 50px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    font-family: 'Arial', sans-serif;
}

.file-list-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    color: #00a3e7;
}

/* Table */
.file-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.file-table th, .file-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.file-table th {
    background-color: #00a3e7;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.file-table tr:hover {
    background-color: #f1f5f9;
}

.btn-view {
    padding: 6px 14px;
    background-color: #00a3e7;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn-view:hover {
    background-color: #e56526;
    transform: scale(1.05);
}

/* Responsive */
@media(max-width: 768px){
    .file-table th, .file-table td{
        padding: 8px 5px;
        font-size: 0.85rem;
    }
    .btn-view {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}




































/* Step navigation */
.step {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.progress {
    height: 20px;
    border-radius: 10px;
}

.progress-bar {
    transition: width 0.5s ease-in-out;
}

/* File upload styling */
.file-upload-container {
    position: relative;
}

.file-drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-drop-zone:hover, .file-drop-zone.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05);
}

.file-preview {
    max-width: 200px;
    max-height: 200px;
}

.image-preview-container {
    position: relative;
    display: inline-block;
}

.image-preview-container .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0.8;
}

.image-preview-container:hover .btn {
    opacity: 1;
}

/* Form validation styling */
.is-invalid {
    border-color: var(--danger-color);
}

.is-valid {
    border-color: var(--success-color);
}

.invalid-feedback {
    display: block;
}

.valid-feedback {
    display: block;
}

/* Dynamic section items */
.dynamic-section-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.dynamic-section-item:hover {
    border-color: var(--primary-color);
    background-color: #fff;
}

/* Table styling */
.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

/* Card enhancements */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Button enhancements */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Badge styling */
.badge {
    font-size: 0.75em;
    font-weight: 500;
}

/* Alert enhancements */
.alert {
    border: none;
    border-radius: 0.5rem;
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--success-color);
}

.alert-danger {
    border-left-color: var(--danger-color);
}

.alert-warning {
    border-left-color: var(--warning-color);
}

.alert-info {
    border-left-color: var(--info-color);
}

/* Navigation tabs for steps */
.nav-pills .nav-link {
    border-radius: 0.5rem;
    margin: 0.25rem;
    color: #6c757d;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-pills .nav-link.completed {
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

/* Preview styling */
.preview-section {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.preview-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.preview-item:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        height: auto;
        min-height: auto;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-group .btn {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Print styles */
@media print {
    .navbar, .sidebar, .btn, .alert {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Utility classes */
.text-small {
    font-size: 0.875rem;
}

.cursor-pointer {
    cursor: pointer;
}

.border-dashed {
    border-style: dashed !important;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}











/* Progress bar animations */
.progress-bar {
    transition: width 0.5s ease-in-out;
}

/* Step navigation enhancements */
#stepTabs .nav-link {
    position: relative;
    padding: 0.75rem 1rem;
}

#stepTabs .nav-link.completed {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#stepTabs .nav-link.active {
    font-weight: 600;
}

/* Button enhancements */
.btn {
    transition: all 0.3s ease;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form validation styles */
.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #198754;
}

/* Loading animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification styles */
.alert {
    border: none;
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #198754;
}

.alert-danger {
    border-left-color: #dc3545;
}

.alert-warning {
    border-left-color: #ffc107;
}

.alert-info {
    border-left-color: #0dcaf0;
}








































/* Quick loading animations */
.spinner-border-fast {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* Submit button loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spinner-border 0.75s linear infinite;
}

/* Quick fade animations */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Notification styles */
.alert-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}









































/* ============================= */
/*       General Card Styling     */
/* ============================= */
.card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ============================= */
/*          Card Header           */
/* ============================= */
.card-header {
    background-color: #fff;
    color: #00a3e7;
    font-weight: 600;
    border-bottom: 2px solid #e56526;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 1rem 1.25rem;
}

.card-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

/* ============================= */
/*            Buttons             */
/* ============================= */
.btn-outline-primary {
    border-color: #00a3e7;
    color: #00a3e7;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #00a3e7;
    color: #fff;
}

.btn-outline-success {
    border-color: #28a745;
    color: #28a745;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

/* ============================= */
/*            Badges              */
/* ============================= */
.badge {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.35em 0.6em;
}

/* ============================= */
/*             Table              */
/* ============================= */
.table th,
.table td {
    vertical-align: middle !important;
    padding: 0.75rem 0.9rem;
}

/* ============================= */
/* Profile Picture / Light BG     */
/* ============================= */


/* ============================= */
/*          Notifications         */
/* ============================= */
.alert {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    min-width: 250px;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

/* ============================= */
/*        Responsive Tweaks       */
/* ============================= */
@media (max-width: 768px) {
    .card-body .row > [class*="col-"] {
        margin-bottom: 15px;
    }

    .card-header h5 {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.45rem 0.8rem;
    }
}

































