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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header.main-header {
    background: linear-gradient(135deg, #1e5799 0%, #2e7cb5 50%, #4a9fd8 100%);
    background: #2563A8;
}

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

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-img {
    height: 50px;
    width: 70px;
    object-fit: cover;
    border-radius: 4px;
    /* border: 2px solid rgba(255,255,255,0.3); */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.logo h1 {
    font-size: 1.5rem;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 1.5rem 1.8rem;
    display: block;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: white;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
}

.globe-icon {
    color: white;
    width: 24px;
    height: 24px;
}

.language-select {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding: 0.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    padding-right: 1.5rem;
}

.language-select:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.language-select option {
    background: #2563A8;
    color: white;
}

/* Hero Section */
.hero {
    background-image: url('/static_files/images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 4rem 0;
    text-align: center;
    height: 250px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

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

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.bg-light {
    background: #f8f9fa;
}

/* Grid Layouts */
.news-grid,
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.news-card,
.career-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover,
.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-card h3,
.career-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.location,
.salary {
    color: #555;
    margin: 0.5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2980b9;
}

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

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #229954;
}

.btn-danger {
    background: #e74c3c;
}

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

/* Forms */
.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: 5px;
    font-size: 1rem;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.empty-message {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #e74c3c;
}

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

/* Admin Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ddd;
}

.admin-nav a {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #555;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: #3498db;
    border-bottom-color: #3498db;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
}

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

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-buttons button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu a {
        padding: 1rem;
    }

    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .news-grid,
    .careers-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-table {
        font-size: 0.9rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
}

/* Quill Editor Styles */
.quill-editor {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 300px;
}

.quill-editor .ql-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    border-radius: 5px 5px 0 0;
}

.quill-editor .ql-container {
    border: none;
    font-size: 1rem;
    min-height: 250px;
}

.quill-editor .ql-editor {
    min-height: 250px;
}

.quill-editor .ql-editor.ql-blank::before {
    color: #999;
    font-style: normal;
}


/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2563A8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.service-box {
    background: #2563A8;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 99, 168, 0.3);
}

.service-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Careers Section */
.careers-section {
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: 2rem;
}

.careers-table-container {
    overflow-x: auto;
}

.careers-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.careers-table th {
    background: #2563A8;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.careers-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

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

.career-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563A8;
}

.benefits-grid {
    display: grid;
    gap: 1rem;
}

.benefit-card {
    background: white;
    padding: 0.1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2563A8;
}

/* Contact Section */
.contact-banner {
    background: white;
    border-radius: 8px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    gap: 3rem;
}

.contact-banner-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.contact-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.contact-title-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-title-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #265095;
    margin: 0;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.contact-title-line {
    height: 2px;
    background: #265095;
    width: 150px;
    flex-shrink: 0;
}

.contact-banner-text {
    padding-left: 0;
}

.contact-subtitle {
    font-size: 0.85rem;
    color: #265095;
    margin: 0;
    font-weight: 400;
}

.contact-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.contact-banner-right {
    flex-shrink: 0;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #3B5998;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 89, 152, 0.3);
}

.contact-btn:hover {
    background: #2d4373;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 89, 152, 0.4);
}

.contact-btn svg {
    transition: transform 0.3s ease;
}

.contact-btn:hover svg {
    transform: translateX(4px);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

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

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

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2563A8;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content,
    .careers-section,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-banner {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-banner-left {
        align-items: center;
    }
    
    .contact-banner-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-title-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-title-line {
        width: 100%;
        max-width: 200px;
    }
    
    .contact-banner-text {
        text-align: center;
    }
    
    .contact-banner-right {
        width: 100%;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Title */
.page-title {
    font-size: 2.5rem;
    color: #2563A8;
    margin-bottom: 2rem;
    text-align: center;
}

/* About Detail Page */
.about-content-full {
    max-width: 900px;
    margin: 0 auto;
}

.about-main-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Detail Page */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.service-detail-card:hover {
    transform: translateY(-10px);
}

.service-detail-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

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

/* Careers Benefits Full */
.career-benefits-full {
    margin-top: 3rem;
}

.career-benefits-full h2 {
    font-size: 2rem;
    color: #2563A8;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Contact Full Page */
.contact-content-full {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    width: 100%;
}

.contact-form-full h2,
.contact-info-full h2 {
    font-size: 1.8rem;
    color: #2563A8;
    margin-bottom: 1.5rem;
}

.contact-form-full {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info-full {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-details-list {
    margin-bottom: 2rem;
}

.contact-detail-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

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

.contact-detail-item strong {
    display: block;
    color: #2563A8;
    margin-bottom: 0.5rem;
}

.social-media {
    margin-top: 2rem;
}

.social-media h3 {
    font-size: 1.3rem;
    color: #2563A8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.social-link:hover {
    background: #2563A8;
    color: white;
}

.map-section {
    width: 100%;
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
}

.map-section iframe {
    width: 100% !important;
    height: 450px !important;
    border: 0;
}

/* Responsive Design for Detail Pages */
@media (max-width: 768px) {
    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content-full {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-detail-grid,
    .benefits-grid-full {
        grid-template-columns: 1fr;
    }
}

/* Resize images in content areas */
.about-text img,
.about-description img,
.about-content-full img,
#about-description img,
.ql-editor img,
.career-description img,
.career-requirements img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    display: block;
}

/* Ensure all images in Quill content are responsive */
.ql-editor img {
    max-width: 100% !important;
    height: auto !important;
}

/* Quill editor tables */
.ql-editor table,
.about-text table,
.about-description table,
.career-description table,
.career-requirements table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}

.ql-editor table td,
.ql-editor table th,
.about-text table td,
.about-text table th,
.about-description table td,
.about-description table th,
.career-description table td,
.career-description table th,
.career-requirements table td,
.career-requirements table th {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

.ql-editor table th,
.about-text table th,
.about-description table th,
.career-description table th,
.career-requirements table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.ql-editor table tr:hover,
.about-text table tr:hover,
.about-description table tr:hover,
.career-description table tr:hover,
.career-requirements table tr:hover {
    background-color: #f5f5f5;
}

/* Admin Career Cards */
.career-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.career-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.career-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.career-card-header h3 {
    margin: 0;
    color: #2563A8;
    font-size: 1.3rem;
    font-weight: 600;
}

.career-card-body {
    padding: 1.5rem;
}

.career-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.career-info-row:last-child {
    margin-bottom: 0;
}

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

.info-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.admin-card-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-card-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .career-card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .career-info-row {
        grid-template-columns: 1fr;
    }
}

/* Admin Service Cards */
.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

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

.service-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    padding: 8px;
    background: #f0f7ff;
    border: 1px solid #d0e7ff;
}

.service-icon-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: #f0f7ff;
    border: 1px solid #d0e7ff;
    border-radius: 8px;
}

.service-card-header h3 {
    margin: 0;
    color: #2563A8;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-card-body {
    padding: 1.5rem;
}

.service-description {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .service-card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .service-header-left {
        width: 100%;
    }
}

/* Careers table column widths */
.careers-table th,
.careers-table td {
    white-space: nowrap;
}

.careers-table th:nth-child(1),
.careers-table td:nth-child(1) {
    width: 20%;
    white-space: normal;
}

.careers-table th:nth-child(2),
.careers-table td:nth-child(2) {
    width: 25%;
    white-space: normal;
}

.careers-table th:nth-child(3),
.careers-table td:nth-child(3) {
    width: 25%;
    white-space: normal;
}

.careers-table th:nth-child(4),
.careers-table td:nth-child(4) {
    width: 15%;
}

.careers-table th:nth-child(5),
.careers-table td:nth-child(5) {
    width: 10%;
    text-align: center;
}

.careers-table th:nth-child(6),
.careers-table td:nth-child(6) {
    width: 5%;
    text-align: center;
}

.careers-table .btn-sm {
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
}

/* Truncate cell content with ellipsis */
.truncate-cell {
    max-height: 4.5em;
    line-height: 1.5em;
    overflow: hidden;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.truncate-cell p {
    margin: 0;
}

.truncate-cell ul,
.truncate-cell ol {
    margin: 0;
    padding-left: 1.5rem;
}

/* ==================== NOTIFICATION STYLES ==================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 10000;
    overflow: hidden;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

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

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: #10b981;
    color: white;
}

.notification-error .notification-icon {
    background: #ef4444;
    color: white;
}

.notification-info .notification-icon {
    background: #3b82f6;
    color: white;
}

.notification-message {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
    
    .notification-content {
        padding: 0.875rem 1rem;
    }
    
    .notification-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .notification-message {
        font-size: 0.875rem;
    }
}

/* ==================== CONFIRM MODAL STYLES ==================== */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-modal-overlay.show {
    opacity: 1;
}

.confirm-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 450px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.confirm-modal-overlay.show .confirm-modal {
    transform: scale(1);
}

.confirm-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 1rem;
}

.confirm-modal-icon span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fef3c7;
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.confirm-modal-content {
    padding: 0 2rem 1.5rem;
    text-align: center;
}

.confirm-modal-content h3 {
    margin: 0 0 0.75rem 0;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
}

.confirm-modal-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

.confirm-modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #e5e7eb;
}

.confirm-modal-actions button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-cancel {
    background: #f3f4f6;
    color: #374151;
}

.btn-cancel:hover {
    background: #e5e7eb;
}

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

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

/* Mobile responsive */
@media (max-width: 768px) {
    .confirm-modal {
        max-width: 90%;
    }
    
    .confirm-modal-icon {
        padding: 1.5rem 1.5rem 0.75rem;
    }
    
    .confirm-modal-icon span {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }
    
    .confirm-modal-content {
        padding: 0 1.5rem 1rem;
    }
    
    .confirm-modal-content h3 {
        font-size: 1.1rem;
    }
    
    .confirm-modal-content p {
        font-size: 0.875rem;
    }
    
    .confirm-modal-actions {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column-reverse;
    }
    
    .confirm-modal-actions button {
        width: 100%;
    }
}

/* Hide table resize handles in view mode */
#about-content-view .table-resize-wrapper .table-resize-handle,
#about-view .table-resize-wrapper .table-resize-handle {
    display: none !important;
}

/* Hide table resize handles on public pages only (pages without admin context) */
body:not([class*="admin"]) .table-resize-handle:not(.cke_editable *) {
    display: none !important;
}

/* Remove default borders from tables when user sets border=0 */
table[border="0"],
table[border="0"] td,
table[border="0"] th {
    border: none !important;
}

/* Ensure CKEditor respects table border settings */
.cke_editable table[border="0"],
.cke_editable table[border="0"] td,
.cke_editable table[border="0"] th {
    border: none !important;
}

/* Remove bullet points from all lists on public pages */
body:not(.admin-page) ul,
body:not(.admin-page) ol {
    list-style: none;
    padding-left: 0;
}

body:not(.admin-page) ul li,
body:not(.admin-page) ol li {
    padding-left: 0;
}
