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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0f172a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    color: #333;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 25px 30px;
    border: 1px solid rgba(30, 58, 138, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.main-title {
    color: #1e3a8a;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: none;
    letter-spacing: -0.5px;
}

.core-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.core-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.core-btn:active {
    transform: translateY(0);
}

.google-drive-btn {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.9) 0%, rgba(52, 168, 83, 0.9) 100%);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: white;
    border: 2px solid rgba(66, 133, 244, 0.5);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.google-drive-btn:hover {
    background: linear-gradient(135deg, rgba(53, 122, 232, 1) 0%, rgba(45, 143, 71, 1) 100%);
    border-color: rgba(66, 133, 244, 0.8);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    color: white;
}

.bromcom-btn {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: white;
    border: 2px solid rgba(30, 58, 138, 0.5);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.bromcom-btn:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 1) 0%, rgba(37, 99, 235, 1) 100%);
    border-color: rgba(30, 58, 138, 0.8);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    color: white;
}

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

.search-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #1e3a8a;
    border: 2px solid rgba(30, 58, 138, 0.3);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 1);
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.search-btn:active {
    transform: translateY(0);
}

/* Search Modal Styles */
.search-modal-content {
    max-width: 700px;
}

.search-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 2px solid rgba(30, 58, 138, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #1e293b;
}

.search-input::placeholder {
    color: #64748b;
}

.search-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background: rgba(255, 255, 255, 1);
}

.search-submit-btn {
    background: #1e3a8a;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: white;
    border: 2px solid #1e3a8a;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.search-submit-btn:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.search-results {
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    border: 2px solid rgba(30, 58, 138, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-result-item:hover {
    background: rgba(239, 246, 255, 1);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2);
    border-color: #1e3a8a;
}

.search-result-item h4 {
    color: #1e3a8a;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    text-shadow: none;
}

.search-result-item p {
    color: #475569;
    margin: 0;
    font-size: 0.9rem;
    text-shadow: none;
}

.search-result-item .result-type {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
}

.search-suggestions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tag {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #1e3a8a;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(30, 58, 138, 0.3);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.suggestion-tag:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    border-color: #1e3a8a;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.admin-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.admin-btn:active {
    transform: translateY(0);
}

.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.section-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(30, 58, 138, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-link:hover .section,
.section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.3);
    background: rgba(255, 255, 255, 1);
    border-color: #1e3a8a;
}

.section:hover::before {
    opacity: 1;
}

.section-heading {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 3px solid #1e3a8a;
    padding-bottom: 10px;
    text-shadow: none;
    position: relative;
    z-index: 1;
}

.section-content {
    color: #1e293b;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    text-shadow: none;
    position: relative;
    z-index: 1;
}

.section-content p {
    color: #334155;
}

/* Password Protection Modal */
.password-modal {
    display: block;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    backdrop-filter: blur(10px);
}

.password-modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    margin: 15% auto;
    padding: 50px 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    border: 2px solid #1e3a8a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

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

.password-header h2 {
    color: #1e3a8a;
    margin-bottom: 10px;
    font-size: 2rem;
    text-shadow: none;
}

.password-header p {
    color: #475569;
    margin-bottom: 30px;
    font-size: 1rem;
    text-shadow: none;
}

.password-body {
    margin-bottom: 30px;
}

.password-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 2px solid #1e3a8a;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #1e3a8a;
}

.password-input::placeholder {
    color: #64748b;
}

.password-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background: rgba(255, 255, 255, 1);
}

.password-error {
    text-align: center;
    font-weight: 500;
}

.password-footer {
    margin-top: 20px;
}

.password-submit-btn {
    background: #1e3a8a;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: white;
    border: 2px solid #1e3a8a;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.password-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    background: #1e40af;
    border-color: #1e40af;
}

.password-submit-btn:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    margin: 5% auto;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border: 2px solid rgba(30, 58, 138, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-content h2 {
    color: #1e3a8a;
    text-shadow: none;
    border-bottom: 3px solid #1e3a8a;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.modal-content h3 {
    color: #1e40af;
    text-shadow: none;
}

.modal-content p {
    color: #1e293b;
    text-shadow: none;
}

.close {
    color: #64748b;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(30, 58, 138, 0.2);
    text-shadow: none;
}

.close:hover,
.close:focus {
    color: #1e3a8a;
    background: rgba(239, 246, 255, 1);
    border-color: #1e3a8a;
    transform: scale(1.1);
}


.instructions-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-left: 4px solid #1e3a8a;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(30, 58, 138, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instructions-box h3 {
    color: #1e3a8a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-shadow: none;
}

.instructions-box ol {
    margin-left: 20px;
    line-height: 1.8;
}

.instructions-box li {
    margin-bottom: 15px;
    color: #334155;
    text-shadow: none;
}

.instructions-box a {
    color: #1e3a8a;
    text-decoration: underline;
    font-weight: 600;
    text-shadow: none;
}

.instructions-box a:hover {
    text-decoration: underline;
}

.assessments-list {
    display: grid;
    gap: 25px;
}

.assessment-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.assessment-group h4 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.assessment-link {
    display: block;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #1e293b;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(30, 58, 138, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.assessment-link:hover {
    background: rgba(239, 246, 255, 1);
    color: #1e3a8a;
    transform: translateX(5px);
    border-color: #1e3a8a;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2);
}

.assessment-link:last-child {
    margin-bottom: 0;
}

.assessment-link strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.05rem;
    color: #1e3a8a;
    text-shadow: none;
}

.assessment-link span {
    color: #475569;
    text-shadow: none;
}

/* Login Details Styles */
.login-details {
    margin-top: 10px;
}

.login-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.login-label {
    font-weight: 600;
    color: #1e3a8a;
    min-width: 90px;
    font-size: 0.9rem;
}

.login-value {
    flex: 1;
    color: #333;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.login-link {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-all;
}

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

.copy-btn-small {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn-small:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

.copy-btn-small:active {
    transform: translateY(0);
}

.copy-btn-small.copied {
    background: #28a745;
}

.copy-btn-small.copied::after {
    content: " ✓";
}

/* Preload Popup Styles */
.preload-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.preload-popup.show {
    display: block;
}

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

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

.preload-popup-content {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    margin: 8% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

.preload-popup-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.preload-popup-header h2 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.preload-popup-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
    font-size: 0.95rem;
}

.preload-popup-body {
    background: white;
    padding: 30px 40px;
}

.preload-close {
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.preload-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.3);
}

.preload-suggestions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preload-suggestion-link {
    display: block;
    background: #f8f9fa;
    color: #1e3a8a;
    padding: 18px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.preload-suggestion-link:hover {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.preload-suggestion-link strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.preload-suggestion-link span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: normal;
}

.preload-search-container {
    position: relative;
    margin-bottom: 20px;
}

.preload-search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.preload-search-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.preload-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #1e3a8a;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.preload-search-results.show {
    display: block;
}

.preload-search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.preload-search-result-item:hover {
    background: #f8f9fa;
}

.preload-search-result-item:last-child {
    border-bottom: none;
}

.preload-search-result-item h5 {
    margin: 0 0 5px 0;
    color: #1e3a8a;
    font-size: 1rem;
}

.preload-search-result-item p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.preload-search-result-item .result-type-badge {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-top: 5px;
}

.preload-quick-links {
    transition: opacity 0.3s ease;
}

.preload-quick-links.hidden {
    display: none;
}

.preload-footer {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.preload-footer button {
    background: white;
    color: #1e3a8a;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.preload-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .content {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .core-btn,
    .admin-btn,
    .search-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    .search-input-container {
        flex-direction: column;
    }
    
    .search-submit-btn {
        width: 100%;
    }
    
    .search-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .preload-popup-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .preload-popup-header,
    .preload-popup-body,
    .preload-footer {
        padding: 20px;
    }
    
    .preload-suggestions {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
footer {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

footer > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

footer .core-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

@media (max-width: 768px) {
    footer {
        margin-top: 40px;
        padding: 20px 0;
    }
    
    footer > div {
        flex-direction: column;
        align-items: center;
    }
    
    footer .core-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Prominent Search Bar */
.search-container-prominent {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 12px;
    padding: 8px 12px;
    border: 2px solid rgba(30, 58, 138, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 500px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.search-container-prominent:focus-within {
    background: rgba(255, 255, 255, 1);
    border-color: #1e3a8a;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2);
}

.prominent-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 8px 12px;
    background: transparent;
    color: #1e293b;
}

.prominent-search-input::placeholder {
    color: #64748b;
}

.search-btn-prominent {
    background: #1e3a8a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 2px solid #1e3a8a;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.search-btn-prominent:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

/* Recently Used Section */
.recently-used-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid rgba(30, 58, 138, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.recently-used-section h2 {
    color: #1e3a8a;
}

.recently-used-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.recent-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #1e3a8a;
    padding: 10px 18px;
    border-radius: 12px;
    border: 2px solid rgba(30, 58, 138, 0.3);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.recent-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.recent-item-remove {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0;
    margin-left: 4px;
}

.recent-item-remove:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Category Groups */
.category-group {
    margin-bottom: 40px;
}

.category-heading {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    background: rgba(30, 58, 138, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Modal Breadcrumbs */
.modal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(30, 58, 138, 0.2);
    font-size: 0.9rem;
}

.breadcrumb-back {
    background: #1e3a8a;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: white;
    border: 2px solid #1e3a8a;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.breadcrumb-back:hover {
    background: #1e40af;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.breadcrumb-separator {
    color: #64748b;
}

.breadcrumb-current {
    color: #1e293b;
    font-weight: 500;
    text-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-container-prominent {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
    }
    
    .category-heading {
        font-size: 1.5rem;
    }
    
    .modal-breadcrumb {
        flex-wrap: wrap;
    }
}
