﻿@charset "utf-8";
/* CSS Document */


* {
    margin: 0px;
    padding: 0px;
    border: 0px;
    outline: none;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header {
    background-color: #3498db;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    margin-bottom: 20px;
    color: white;
}

.logo-container {
    display: flex;
    align-items: center;
}

.org-logo {
    height: 60px;
    width: auto;
}

.org-name {
    font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
    font-size: 1.8rem;
    text-align: center;
    margin: 0;
    padding: 15px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.main-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 11px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4895ef;
    display: flex;
    align-items: center;
    background: #3498db;
}

.form-label {
    font-weight: 600;
    color: #495057;
}

.required::after {
    content: " *";
    color: #dc3545;
}

.btn-primary {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

    .btn-primary:hover {
        background-color: #1a252f;
        border-color: #1a252f;
    }

.table th {
    background-color: #f8f9fa;
}

.scrollbar {
    max-height: 300px;
    overflow-y: auto;
}

.docgrid {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
}

.pg_colon {
    font-weight: bold;
}

.custom-modal .modal-header {
    background-color: #d4edda;
    color: #155724;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 730px;
    max-width: 90%;
    max-height: 495px;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

@media (max-width: 768px) {
    .org-name {
        font-size: 18px;
        margin-top: 10px;
    }

    .logo-container {
        justify-content: center;
    }

    .header {
        text-align: center;
    }
}

.grdview th {
    background-color: #3498db !important;
    color: white !important;
}

.card-header {
    background: linear-gradient(135deg, #3498db 0%, #3498db 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
    text-align: center;
    font-size: 1.5rem;
}

.card {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none;
    /* overflow: hidden; */
    margin-top: 30px;
}

.form-section {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header.alert-success {
    background-color: #28a745 !important; /* Success */
    color: white;
}

.modal-header.alert-warning {
    background-color: #ffc107 !important; /* Warning */
    color: black;
}

.modal-header.alert-danger {
    background-color: #dc3545 !important; /* Confirmation (Yes/No) */
    color: white;
}

.modal-header.alert-info {
    background-color: #0dcaf0 !important; /* Default Alert */
    color: black;
}
