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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 44px;
}

.nav-logo h2 {
    color: #1d1d1f;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #0071e3;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0071e3;
}

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

.nav-dashboard-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    min-width: auto !important;
    max-width: none !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
}

.login-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    min-width: auto !important;
    max-width: none !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Override button sizing for navigation buttons */
.nav-container .btn-primary {
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    min-width: auto !important;
    max-width: none !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
}
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fbfbfd 0%, #f5f5f7 100%);
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #1d1d1f;
}

.highlight {
    background: linear-gradient(135deg, #0071e3 0%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
}

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

.hero-buttons .btn {
    padding: 14px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 980px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #0071e3, #42a5f5) !important;
    color: #ffffff !important;
    border: none !important;
}

.hero-buttons .btn-secondary {
    background: #ffffff !important;
    color: #0071e3 !important;
    border: 2px solid #0071e3 !important;
}

.hero-buttons .btn-secondary:hover {
    background: #0071e3 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn {
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #0071e3;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0077ed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: white;
}

/* Hero Graphics */
.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    color: #0071e3;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hero Animation (AI Network) */
.hero-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 340px;
    min-height: 340px;
    animation: fadein 1.2s;
}
.hero-animation svg {
    width: 340px;
    height: 340px;
    max-width: 90vw;
    max-height: 60vw;
    display: block;
}
.ai-node {
    filter: drop-shadow(0 0 16px #b3d4fc88);
    opacity: 0.95;
    transform-origin: center;
    animation: node-pulse 2.4s infinite ease-in-out;
}
.ai-node:nth-of-type(6) { /* center node */
    animation-delay: 0.2s;
    filter: drop-shadow(0 0 32px #0071e3cc);
}
.ai-node:nth-of-type(2) {
    animation-delay: 0.4s;
}
.ai-node:nth-of-type(3) {
    animation-delay: 0.6s;
}
.ai-node:nth-of-type(4) {
    animation-delay: 0.8s;
}
@keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.15); opacity: 1; }
}
@keyframes fadein {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}
/* Responsive: stack animation below content on mobile */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-animation {
        margin: 2.5rem auto 0 auto;
        min-width: 220px;
        min-height: 220px;
    }
    .hero-animation svg {
        width: 220px;
        height: 220px;
    }
}

/* --- Features Section (Apple-inspired) --- */
.features {
    padding: 100px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fbfbfd;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 260px;
}

.feature-card:hover {
    box-shadow: 0 16px 40px rgba(0,113,227,0.10);
    transform: translateY(-4px) scale(1.01);
}

.feature-card i {
    font-size: 2.2rem;
    color: #0071e3;
    margin-bottom: 1.2rem;
    background: rgba(0,113,227,0.08);
    border-radius: 16px;
    padding: 0.8rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.7rem;
    letter-spacing: -0.2px;
}

.feature-card p {
    color: #86868b;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
}

/* --- About Section (Apple-inspired) --- */
.about {
    padding: 100px 0;
    background: #f5f5f7;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.about-description {
    font-size: 1.25rem;
    color: #0071e3;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #86868b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* --- Contact Section (Apple-inspired) --- */
.contact {
    background: linear-gradient(135deg, #fbfbfd 0%, #f5f5f7 100%);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-highlight {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.2);
}

.contact-highlight i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-highlight h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-highlight p {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 1rem;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    color: #0071e3;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.benefit-item span {
    color: #1d1d1f;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Form Grid Layout (for admin forms) */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Specific layout for Position Advertisement form */
.form-grid.position-form {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, auto);
}

.form-grid.position-form .form-group:nth-child(1) { grid-area: 1 / 1 / 2 / 2; } /* MC Number */
.form-grid.position-form .form-group:nth-child(2) { grid-area: 1 / 2 / 2 / 3; } /* FTE */
.form-grid.position-form .form-group:nth-child(3) { grid-area: 1 / 3 / 2 / 4; } /* Approval Date */

.form-grid.position-form .form-group:nth-child(4) { grid-area: 2 / 1 / 3 / 3; } /* Position Title */
.form-grid.position-form .form-group:nth-child(5) { grid-area: 2 / 3 / 3 / 5; } /* Position Type */

.form-grid.position-form .form-group:nth-child(6) { grid-area: 3 / 1 / 4 / 2; } /* Home Unit */
.form-grid.position-form .form-group:nth-child(7) { grid-area: 3 / 2 / 4 / 3; } /* Faculty */
.form-grid.position-form .form-group:nth-child(8) { grid-area: 3 / 3 / 4 / 4; } /* Start Date */
.form-grid.position-form .form-group:nth-child(9) { grid-area: 3 / 4 / 4 / 5; } /* Application Deadline */

.form-grid.position-form .form-group:nth-child(10) { grid-area: 4 / 1 / 5 / 3; } /* Salary From */
.form-grid.position-form .form-group:nth-child(11) { grid-area: 4 / 3 / 5 / 5; } /* Salary To */

/* Application Management Tab Styles */
.application-overview {
    margin-bottom: 2rem;
}

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

.overview-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #6c757d;
    font-weight: 600;
}

.card-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

/* Enhanced Application Management Sections */
.position-applications,
.committee-progress {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.position-applications:hover,
.committee-progress:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.position-applications h3,
.committee-progress h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.position-selector {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.position-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.95rem;
}

.position-selector select {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.position-selector select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Enhanced No Data States */
.no-applications,
.no-committees {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    margin: 1rem 0;
}

.no-applications i,
.no-committees i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-applications p,
.no-committees p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-applications .subtitle,
.no-committees .subtitle {
    font-size: 0.9rem;
    color: #adb5bd;
    font-style: italic;
}

/* Enhanced Committee Progress Items */
.committee-progress-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    border-left: 4px solid #007bff;
}

.committee-progress-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.committee-progress-item h4 {
    margin: 0 0 0.75rem 0;
    color: #1d1d1f;
    font-size: 1.1rem;
    font-weight: 600;
}

.committee-progress-item p {
    margin: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.committee-progress-item p:before {
    content: "•";
    color: #007bff;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Enhanced Error Messages */
.error-message {
    text-align: center;
    padding: 2rem 1rem;
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin: 1rem 0;
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

/* Enhanced Loading States */
.loading-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.loading-state i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

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

/* Dean Dashboard Styles */
.approval-overview,
.recruitment-metrics,
.compliance-overview {
    margin-bottom: 2rem;
}

.approval-items,
.unit-summary,
.compliance-details {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.approval-items:hover,
.unit-summary:hover,
.compliance-details:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.approval-items h3,
.unit-summary h3,
.compliance-details h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.approval-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.approval-filters label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.9rem;
}

.approval-filters select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.approval-filters select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* UARC Review Interface */
.uarc-review-interface {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.memo-selection {
    margin-bottom: 2rem;
}

.memo-selection h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
}

.memo-selector {
    margin-bottom: 1.5rem;
}

.memo-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d1d1f;
}

.memo-selector select {
    width: 100%;
    max-width: 500px;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.memo-selector select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.memo-review-panel {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.memo-actions {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.memo-actions h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.decision-form {
    display: grid;
    gap: 1.5rem;
}

.decision-form .form-group {
    display: flex;
    flex-direction: column;
}

.decision-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d1d1f;
}

.decision-form textarea,
.decision-form select {
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.decision-form textarea:focus,
.decision-form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.decision-form .form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Enhanced No Data States for Dean Dashboard */
.no-approvals,
.no-units,
.no-compliance-issues,
.no-memo-selected {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    margin: 1rem 0;
}

.no-approvals i,
.no-units i,
.no-compliance-issues i,
.no-memo-selected i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-approvals p,
.no-units p,
.no-compliance-issues p,
.no-memo-selected p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-approvals .subtitle,
.no-units .subtitle,
.no-compliance-issues .subtitle,
.no-memo-selected .subtitle {
    font-size: 0.9rem;
    color: #adb5bd;
    font-style: italic;
}

/* Memo Content Styling */
.memo-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.memo-content h4 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.1rem;
    font-weight: 600;
}

/* UARC Chair Dashboard Styles */
.decision-overview,
.committee-overview,
.compliance-overview,
.uarc-metrics {
    margin-bottom: 2rem;
}

.decision-upload-interface,
.recent-decisions,
.committee-monitoring,
.uarc-summary {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.decision-upload-interface:hover,
.recent-decisions:hover,
.committee-monitoring:hover,
.uarc-summary:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.decision-upload-interface h3,
.recent-decisions h3,
.committee-monitoring h3,
.uarc-summary h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.committee-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.committee-filters label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.9rem;
}

.committee-filters select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.committee-filters select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Enhanced No Data States for UARC Chair Dashboard */
.no-decisions,
.no-summary {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    margin: 1rem 0;
}

.no-decisions i,
.no-summary i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-decisions p,
.no-summary p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-decisions .subtitle,
.no-summary .subtitle {
    font-size: 0.9rem;
    color: #adb5bd;
    font-style: italic;
}

.no-applications,
.no-committees {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.no-applications i,
.no-committees i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-applications p,
.no-committees p {
    margin: 0.5rem 0;
}

.subtitle {
    font-size: 0.9rem;
    color: #adb5bd;
}

.committee-progress-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.committee-progress-item h4 {
    margin: 0 0 0.5rem 0;
    color: #1d1d1f;
    font-size: 1.1rem;
}

.committee-progress-item p {
    margin: 0.25rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

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

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* UARC Preparation Tab Styles */
.uarc-overview {
    margin-bottom: 2rem;
}

.uarc-memo-creation,
.uarc-memo-list {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.uarc-memo-creation h3,
.uarc-memo-list h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
}

.uarc-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.memo-filters {
    margin-bottom: 1.5rem;
}

.memo-filters label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d1d1f;
}

.memo-filters select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1rem;
}

.no-memos {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.no-memos i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-memos p {
    margin: 0.5rem 0;
}

.no-memos .subtitle {
    font-size: 0.9rem;
    color: #adb5bd;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Recruitment Form Overrides - Disable Floating Labels */
.tab-content .form-group {
    position: static !important;
}

.tab-content .form-group label {
    position: static !important;
    left: auto !important;
    top: auto !important;
    pointer-events: auto !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0.5rem !important;
    color: #1d1d1f !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    display: block !important;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #86868b;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 4px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 12px;
    font-size: 0.75rem;
    color: #0071e3;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1d1d1f;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Checkbox Styles */
.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #1d1d1f;
    transition: color 0.2s ease;
}

.checkbox-item:hover {
    color: #0071e3;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e5e7;
    border-radius: 6px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    background: white;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: #0071e3;
    border-color: #0071e3;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Enhanced Button */
.contact-form .btn-primary {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    border: none;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
}

/* Responsive Design */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-highlight {
        padding: 2rem;
    }
    
    .benefit-item {
        padding: 0.75rem 1rem;
    }
}

/* --- Footer (Apple-inspired) --- */
.footer {
    background: #1d1d1f;
    color: #fff;
    padding: 40px 0 20px 0;
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

.footer-content p {
    color: #b1b1b3;
    font-size: 1rem;
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        padding: 0 1rem;
    }
    .contact-content {
        padding: 2rem 1rem;
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1d1d1f;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger animation when active */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 44px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 44px);
        text-align: center;
        transition: 0.3s ease;
        padding: 2rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
    }
}

/* Data pulse animation for sophisticated network */
.data-pulse {
    opacity: 0.85;
    filter: drop-shadow(0 0 8px #42a5f5cc);
    transform-origin: center;
}
.data-pulse:nth-of-type(10) { /* pulse from left to center */
    animation: pulse-move1 2.8s linear infinite;
}
.data-pulse:nth-of-type(11) { /* pulse from top to center */
    animation: pulse-move2 2.8s linear infinite 0.7s;
}
.data-pulse:nth-of-type(12) { /* pulse from right to center */
    animation: pulse-move3 2.8s linear infinite 1.4s;
}
.data-pulse:nth-of-type(13) { /* pulse from bottom to center */
    animation: pulse-move4 2.8s linear infinite 2.1s;
}
@keyframes pulse-move1 {
    0% { cx: 80px; cy: 200px; opacity: 0.85; }
    80% { opacity: 1; }
    100% { cx: 200px; cy: 200px; opacity: 0; }
}
@keyframes pulse-move2 {
    0% { cx: 200px; cy: 80px; opacity: 0.85; }
    80% { opacity: 1; }
    100% { cx: 200px; cy: 200px; opacity: 0; }
}
@keyframes pulse-move3 {
    0% { cx: 320px; cy: 200px; opacity: 0.85; }
    80% { opacity: 1; }
    100% { cx: 200px; cy: 200px; opacity: 0; }
}
@keyframes pulse-move4 {
    0% { cx: 200px; cy: 320px; opacity: 0.85; }
    80% { opacity: 1; }
    100% { cx: 200px; cy: 200px; opacity: 0; }
}

/* Rotating network animation */
.network-rotate {
    animation: network-rotate 32s linear infinite;
    will-change: transform;
}
@keyframes network-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Login Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,32,36,0.32);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 370px;
  width: 92vw;
  position: relative;
  animation: fadein 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #86868b;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #0071e3;
}
.login-form .form-group {
  margin-bottom: 1.2rem;
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
}

.login-form .form-group label {
  position: static !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
  color: #1d1d1f !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  left: auto !important;
  top: auto !important;
  background: transparent !important;
  padding: 0 !important;
}

.login-form .form-group input,
.login-form .form-group select {
  width: 100% !important;
  padding: 0.75rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  font-family: inherit !important;
  transition: border-color 0.2s ease !important;
  background: white !important;
  color: #1d1d1f !important;
}
.btn-google {
  background: #fff;
  color: #1d1d1f;
  border: 1.5px solid #e0e0e5;
  border-radius: 980px;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,113,227,0.04);
}
.btn-google:hover {
  border: 1.5px solid #4285F4;
  box-shadow: 0 4px 16px rgba(66,133,244,0.10);
}
@media (max-width: 600px) {
  .modal-content {
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    max-width: 98vw;
    max-height: 98vh;
    overflow-y: auto;
  }
}

/* System Role Switch Styles */
.role-switch-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0071e3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.role-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1d1d1f;
    transition: color 0.3s;
}

input:checked ~ .role-label {
    color: #0071e3;
}

/* Mandatory Admin User Styles */
.mandatory-admin-row {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-left: 4px solid #0071e3;
}

.mandatory-admin-badge {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 113, 227, 0.2);
}

.mandatory-admin-notice {
    background: #f8f9fa;
    color: #6c757d;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mandatory-admin-notice::before {
    content: "🔒";
    font-size: 0.9rem;
}

/* Enhanced admin user row styling */
.admin-user-row {
    background: linear-gradient(135deg, #fff8f0 0%, #fff2e6 100%);
    border-left: 4px solid #ff9500;
}

.admin-badge {
    background: linear-gradient(135deg, #ff9500 0%, #ff7800 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(255, 149, 0, 0.2);
}

/* Contact Form Success/Error Modals */
.contact-success,
.contact-error {
    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: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-success.show,
.contact-error.show {
    opacity: 1;
    visibility: visible;
}

.success-content,
.error-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.contact-success.show .success-content,
.contact-error.show .error-content {
    transform: translateY(0);
}

.success-content i {
    font-size: 4rem;
    color: #34c759;
    margin-bottom: 1rem;
}

.error-content i {
    font-size: 4rem;
    color: #ff3b30;
    margin-bottom: 1rem;
}

.success-content h3,
.error-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.success-content p,
.error-content p {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    text-align: left;
}

.success-details p {
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.success-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-details li {
    padding: 0.5rem 0;
    color: #86868b;
    position: relative;
    padding-left: 1.5rem;
}

.success-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34c759;
    font-weight: bold;
}

.success-content .btn,
.error-content .btn {
    margin-top: 1rem;
    min-width: 200px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #fbfbfd 0%, #f5f5f7 100%);
    padding: 80px 0;
}

.contact-cta {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.benefit-item i {
    color: #0071e3;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.benefit-item span {
    color: #1d1d1f;
    font-weight: 500;
    font-size: 0.95rem;
}

.cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    border: none;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35); /* less opaque for elegance */
    backdrop-filter: blur(4px);       /* lighter blur */
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2; /* must be above overlay */
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

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

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

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #86868b;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #1d1d1f;
}

.modal-body {
    padding: 1rem 2rem 2rem 2rem;
}

.modal-subtitle {
    color: #86868b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Form Styles for Modal */
.modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-body .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.modal-body .form-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #86868b;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 4px;
}

.modal-body .form-group input:focus + label,
.modal-body .form-group input:not(:placeholder-shown) + label,
.modal-body .form-group select:focus + label,
.modal-body .form-group select:not([value=""]) + label,
.modal-body .form-group textarea:focus + label,
.modal-body .form-group textarea:not(:placeholder-shown) + label {
    top: -6px;
    left: 8px;
    font-size: 0.7rem;
    color: #0071e3;
    font-weight: 600;
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e5e7;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
    color: #1d1d1f;
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.modal-body .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-body .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-right: 30px;
}

.modal-body .checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #1d1d1f;
    transition: color 0.2s ease;
}

.modal-body .checkbox-item:hover {
    color: #0071e3;
}

.modal-body .checkbox-item input[type="checkbox"] {
    display: none;
}

.modal-body .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e5e7;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
    background: white;
}

.modal-body .checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: #0071e3;
    border-color: #0071e3;
}

.modal-body .checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.modal-body .btn-primary {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    border: none;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-body .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
}

/* Responsive Design */
@media (max-width: 600px) {
    .contact {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 2rem;
    }
    
    .benefit-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .modal-body .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* --- Dashboard page custom styles moved from dashboard.html --- */
/* Floating label styles for dashboard form */
.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.contact-form .form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #86868b;
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    background: white;
    padding: 0 4px;
    transition: all 0.3s ease;
}
.contact-form .form-group input:focus + label,
.contact-form .form-group input:not(:placeholder-shown) + label,
.contact-form .form-group select:focus + label,
.contact-form .form-group select:not([value=""]) + label,
.contact-form .form-group textarea:focus + label,
.contact-form .form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 0.8rem;
    color: #0071e3;
    font-weight: 600;
    background: white;
}
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 16px 16px 16px 16px;
    border: 2px solid #e5e5e7;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #1d1d1f;
    transition: all 0.3s ease;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-form-container {
        max-width: 100%;
        min-width: 0;
    }
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
}
/* Add the new engagement form CSS at the end of the <style> block */
.engagement-form-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  max-width: 420px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem 2rem;
}
.engagement-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.engagement-header p {
  color: #86868b;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.engagement-form .form-group {
  margin-bottom: 1.5rem;
}
.engagement-form textarea {
  width: 100%;
  border: 2px solid #e5e5e7;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  resize: vertical;
  min-height: 60px;
  background: #f9f9f9;
  transition: border 0.2s;
}
.engagement-form textarea:focus {
  border-color: #0071e3;
  background: #fff;
  outline: none;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.checkbox-group label {
  font-size: 0.98rem;
  color: #1d1d1f;
  background: #f5f5f7;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 0.5em;
}
.engagement-form input[type="datetime-local"] {
  width: 100%;
  border: 2px solid #e5e5e7;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  background: #f9f9f9;
  margin-top: 0.5rem;
}
.btn.btn-primary {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #0071e3, #42a5f5);
  color: #fff;
  border: none;
  margin-top: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn.btn-primary:hover {
  background: #0077ed;
  box-shadow: 0 4px 16px rgba(0,113,227,0.12);
}
.form-footer {
  margin-top: 1.5rem;
  text-align: center;
  color: #86868b;
  font-size: 0.95rem;
}
/* Add improved CSS for info card grid, form spacing, and polish */
.info-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .info-card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.engagement-form-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  max-width: 420px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem 2rem;
}
.engagement-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.engagement-header p {
  color: #86868b;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.engagement-form .form-group {
  margin-bottom: 2rem;
}
.engagement-form textarea {
  width: 100%;
  border: 2px solid #e5e5e7;
  border-radius: 10px;
  padding: 1.25rem;
  font-size: 1rem;
  resize: vertical;
  min-height: 60px;
  background: #f9f9f9;
  transition: border 0.2s;
}
.engagement-form textarea:focus {
  border-color: #0071e3;
  background: #fff;
  outline: none;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.checkbox-group label {
  font-size: 0.98rem;
  color: #1d1d1f;
  background: #f5f5f7;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 0.5em;
}
.engagement-form input[type="datetime-local"] {
  width: 100%;
  border: 2px solid #e5e5e7;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  background: #f9f9f9;
  margin-top: 0.5rem;
}
.btn.btn-primary {
  width: 100%;
  padding: 1.1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #0071e3, #42a5f5);
  color: #fff;
  border: none;
  margin-top: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn.btn-primary:hover {
  background: #0077ed;
  box-shadow: 0 4px 16px rgba(0,113,227,0.12);
}
.form-footer {
  margin-top: 2rem;
  text-align: center;
  color: #86868b;
  font-size: 0.95rem;
}
/* CSS Tweaks for clarity and alignment */
.engagement-form .form-group {
  margin-bottom: 1.5rem;
}
.checkbox-group {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
.form-footer small {
  color: #b1b1b3;
  font-size: 0.93rem;
}
/* CSS Tweaks for guaranteed visibility and clarity */
.checkbox-group {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
  overflow: visible;
}
.engagement-form .form-group {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
}
.engagement-form input[type="datetime-local"] {
  margin-top: 0;
}

/* Compact button styles for admin panel only */
.admin-container .btn,
.admin-container .btn-primary,
.admin-container .btn-secondary,
.admin-container .btn-add,
.admin-container .btn-clear,
.admin-container .btn-cancel {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    width: auto !important;
    min-width: 120px;
    max-width: 220px;
    box-sizing: border-box;
}
.admin-container .data-buttons {
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== RECRUITMENT SYSTEM STYLES ===== */

/* Override hero styles for recruitment page */
.recruit-page .hero {
    background: linear-gradient(135deg, #fbfbfd 0%, #f5f5f7 100%);
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recruit-page .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    color: #1d1d1f;
}

.recruit-page .hero p {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Override general form styles for recruitment forms */
.position-upload .form-group,
.committee-management .form-group {
    position: static !important;
    margin-bottom: 2rem !important;
}

.position-upload .form-group label,
.committee-management .form-group label {
    position: static !important;
    left: auto !important;
    top: auto !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0.75rem !important;
    color: #1d1d1f !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    pointer-events: auto !important;
    z-index: 10 !important;
}

.position-upload .form-group input,
.position-upload .form-group select,
.position-upload .form-group textarea,
.committee-management .form-group input,
.committee-management .form-group select,
.committee-management .form-group textarea {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 2px solid #e5e5e7 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    background: white !important;
    color: #1d1d1f !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

.position-upload .form-group input:focus,
.position-upload .form-group select:focus,
.position-upload .form-group textarea:focus,
.committee-management .form-group input:focus,
.committee-management .form-group select:focus,
.committee-management .form-group textarea:focus {
    outline: none !important;
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1) !important;
}

.position-upload .form-group small,
.committee-management .form-group small {
    display: block !important;
    margin-top: 0.5rem !important;
    color: #86868b !important;
    font-size: 0.85rem !important;
    font-style: italic !important;
    line-height: 1.3 !important;
}

/* Workflow Overview */
.workflow-overview {
    padding: 3rem 0;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step.active {
    border-color: #007bff;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step.active .step-number {
    background: #0056b3;
    transform: scale(1.1);
}

.step h3 {
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.step-action {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.step-action:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Quick Actions Section */
.quick-actions {
    padding: 3rem 0;
    background: #f8f9fa;
}

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

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.action-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.action-card h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.action-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Recent Activity Section */
.recent-activity {
    padding: 3rem 0;
    background: white;
}

.activity-list {
    margin-top: 2rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 12px;
    background: #f8f9fa;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

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

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.text-success { color: #28a745; }
.text-info { color: #17a2b8; }
.text-warning { color: #ffc107; }

.activity-content h4 {
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.activity-content p {
    color: #6c757d;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.activity-content small {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* ===== TAB SYSTEM STYLES ===== */

/* Tab Navigation */
.tab-navigation {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #6c757d;
}

.tab-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.tab-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.tab-btn i {
    font-size: 0.9rem;
}

/* Tab Content */
.tab-content {
    padding: 2rem 0;
}

.tab-pane {
    display: none;
}

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

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

.tab-header h2 {
    color: #212529;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.tab-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== RECRUITMENT HUB STYLES ===== */

/* Recruitment Form Styles - COMPLETELY ISOLATED from global CSS */
.recruit-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    /* Reset all inherited styles */
    all: initial;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.recruit-form * {
    box-sizing: border-box;
}

.recruit-form .form-group {
    position: static !important;
    margin-bottom: 2rem !important;
    display: block !important;
}

.recruit-form .form-group label {
    display: block !important;
    position: static !important;
    margin-bottom: 0.5rem !important;
    color: #1d1d1f !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    left: auto !important;
    top: auto !important;
    pointer-events: auto !important;
    background: transparent !important;
    padding: 0 !important;
    z-index: auto !important;
    transition: none !important;
    transform: none !important;
}

.recruit-form .form-group input,
.recruit-form .form-group select,
.recruit-form .form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1d1d1f;
}

.recruit-form .form-group input:focus,
.recruit-form .form-group select:focus,
.recruit-form .form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.recruit-form .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

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

.recruit-form .form-group.full-width {
    grid-column: 1 / -1;
}

/* System Overview Section */
.system-overview {
    padding: 3rem 0;
    background: white;
}

.system-overview p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-preview {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.workflow-preview h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

.workflow-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.workflow-arrow {
    font-size: 1.5rem;
    color: #6c757d;
    font-weight: bold;
}

/* Role Selection Section */
.role-selection {
    padding: 3rem 0;
    background: #f8f9fa;
}

.role-selection h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.role-selection > .container > p {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.role-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.role-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.role-card h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.role-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.role-card .btn {
    margin-top: auto;
    align-self: center;
}

/* Demo Information Section */
.demo-info {
    padding: 3rem 0;
    background: white;
}

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

.demo-text h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.demo-text p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.demo-features h4 {
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.demo-features ul {
    list-style: none;
    padding: 0;
}

.demo-features li {
    color: #6c757d;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 1.5rem;
}

.demo-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Responsive Design for Role Grid */
@media (max-width: 768px) {
    .role-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-flow {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
    background: #f8f9fa;
}

.workflow-overview h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1d1d1f;
    font-size: 2rem;
    font-weight: 600;
}

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

.step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.step.active {
    border-color: #0071e3;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.15);
}

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

.step-number {
    background: linear-gradient(135deg, #0071e3, #42a5f5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #1d1d1f;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    color: #86868b;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Position Upload Section */
.position-upload {
    padding: 2rem 0;
}

.position-upload h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1d1d1f;
    font-size: 2rem;
    font-weight: 600;
}

.position-upload > .container > p {
    text-align: center;
    color: #86868b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.upload-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e7;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
    min-height: 48px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #86868b;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.3;
}

.form-help {
    color: #86868b;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.3;
    margin-top: 0.25rem;
    display: block;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0071e3, #42a5f5);
    color: white;
}

.btn-primary:hover {
    background: #0077ed;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid #e5e5e7;
}

.btn-secondary:hover {
    background: #e5e5e7;
}

/* Committee Management Styles - COMPLETELY ISOLATED */
.committee-management {
    padding: 2rem 0;
    background: #f8f9fa;
    /* ISOLATE FROM MAIN CSS */
    position: relative;
    z-index: 1000;
}

.committee-management h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1d1d1f;
    font-size: 2rem;
    font-weight: 600;
}

.committee-management > .container > p {
    text-align: center;
    color: #86868b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.committee-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

/* Ensure consistent width with position upload form */
.position-upload .upload-form,
.committee-management .committee-form {
    max-width: 800px;
    margin: 0 auto;
}

.member-selection {
    border: 2px solid #e5e5e7;
    border-radius: 8px;
    padding: 1rem;
    background: #f8f9fa;
    max-height: 200px;
    overflow-y: auto;
    min-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.member-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e5e7;
    min-height: 40px;
    box-sizing: border-box;
    gap: 0.5rem;
    width: 100%;
}

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

.member-item input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    accent-color: #0071e3;
    flex-shrink: 0;
}

.member-item label {
    cursor: pointer;
    font-size: 0.95rem;
    color: #1d1d1f;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
    padding-left: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.member-item:hover {
    background: #e9ecef;
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0;
}

/* NUCLEAR OVERRIDE - Complete isolation for committee member labels */
.committee-management .member-selection {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
}

.committee-management .member-item {
    width: 100% !important;
    min-width: 100% !important;
}

/* CSS RESET for committee management - Override ALL inherited styles */
.committee-management *,
.committee-management *::before,
.committee-management *::after {
    box-sizing: border-box !important;
}

.committee-management .form-group {
    position: static !important;
    margin-bottom: 2rem !important;
}

.committee-management .form-group label {
    position: static !important;
    left: auto !important;
    top: auto !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0.75rem !important;
    color: #1d1d1f !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
    display: block !important;
    visibility: visible !important;
}

/* COMPLETE CSS ISOLATION - Unique namespace to avoid ALL conflicts */
.recruit-committee-section {
    /* Create a completely isolated CSS context */
    all: initial;
    display: block;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #f8f9fa;
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: 16px;
    position: relative;
    z-index: 1000;
}

.recruit-committee-section * {
    box-sizing: border-box;
}

.recruit-committee-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1d1d1f;
    font-size: 2rem;
    font-weight: 600;
    display: block;
}

.recruit-committee-section > .container > p {
    text-align: center;
    color: #86868b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    display: block;
}

.recruit-committee-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.recruit-committee-form .form-group {
    margin-bottom: 2rem;
    position: static;
}

.recruit-committee-form .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    position: static;
    background: transparent;
    padding: 0;
}

.recruit-committee-form .form-group input,
.recruit-committee-form .form-group select,
.recruit-committee-form .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e7;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #1d1d1f;
    min-height: 48px;
    box-sizing: border-box;
}

.recruit-committee-form .form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #86868b;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.3;
}

.recruit-member-selection {
    border: 2px solid #e5e5e7;
    border-radius: 8px;
    padding: 1rem;
    background: #f8f9fa;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
}

.recruit-member-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e5e7;
    min-height: 40px;
    gap: 0.5rem;
    width: 100%;
}

.recruit-member-item:last-child {
    border-bottom: none;
}

.recruit-member-item input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    accent-color: #0071e3;
    flex-shrink: 0;
}

.recruit-member-item label {
    cursor: pointer;
    font-size: 0.95rem;
    color: #1d1d1f;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
    padding-left: 0;
    max-width: 100%;
    display: block;
    visibility: visible;
    opacity: 1;
    position: static;
    background: transparent;
}

.recruit-member-item:hover {
    background: #e9ecef;
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0;
}

/* ===== DRAG & DROP COMMITTEE SELECTION ===== */

.drag-drop-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    /* Debug: Force exact sizing */
    height: fit-content;
    min-height: 0;
}

.available-members-panel,
.committee-panel {
    background: white;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 400px;
}

.available-members-panel h4,
.committee-panel h4 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.member-count {
    color: #0071e3;
    font-weight: 500;
    font-size: 0.9rem;
}

.available-members-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Debug: Force exact sizing */
    height: fit-content;
    min-height: 0;
    max-height: none;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: grab;
    transition: all 0.2s ease;
    position: relative;
    /* Debug: Force exact sizing */
    height: fit-content;
    min-height: 0;
    margin: 0;
}

.member-card:hover {
    background: #e9ecef;
    border-color: #0071e3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.1);
}

/* Selected state - grey out when member is in committee */
.member-card.selected {
    opacity: 0.5;
    background: #f0f0f0;
    border-color: #d1d5db;
    cursor: not-allowed;
    position: relative;
}

.member-card.selected::after {
    content: "✓ Added to Committee";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.member-card.selected:hover {
    background: #f0f0f0;
    border-color: #d1d5db;
    transform: none;
    box-shadow: none;
}

.member-card:active {
    cursor: grabbing;
    transform: translateY(0);
}

.member-card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #42a5f5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
    min-width: 0;
    /* Debug: Prevent flex expansion */
    min-height: 0;
    height: fit-content;
}

.member-name {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.member-dept {
    color: #86868b;
    font-size: 0.85rem;
}

.drag-handle {
    color: #86868b;
    font-size: 1.2rem;
    cursor: grab;
    user-select: none;
    flex-shrink: 0;
}

.drop-zone {
    min-height: 320px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.2s ease;
    position: relative;
}

.committee-drop-zone {
    min-height: 320px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.2s ease;
    position: relative;
}

.committee-drop-zone.drag-over {
    border-color: #0071e3;
    background: #f0f8ff;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.drop-zone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #86868b;
    text-align: center;
    padding: 2rem;
}

.drop-zone-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.drop-zone-placeholder p {
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    color: #6b7280;
}

.drop-zone-placeholder small {
    color: #9ca3af;
    font-size: 0.85rem;
}

.committee-members-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    min-height: 200px;
}

.committee-member-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #0071e3;
    border-radius: 8px;
    background: #f0f8ff;
    position: relative;
}

.committee-member-item .member-avatar {
    background: linear-gradient(135deg, #0071e3, #005bb5);
}

.remove-member {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.remove-member:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .drag-drop-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .available-members-panel,
    .committee-panel {
        min-height: 300px;
    }
    
    .member-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Rich Text Editor Styles */
.rich-text-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e5e5e7;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.toolbar-btn {
    padding: 0.5rem;
    border: 1px solid #e5e5e7;
    border-radius: 4px;
    background: white;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-btn:hover {
    background: #0071e3;
    color: white;
    border-color: #0071e3;
}

.toolbar-btn.active {
    background: #0071e3;
    color: white;
    border-color: #0071e3;
}

.rich-text-editor {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #e5e5e7;
    border-radius: 0 0 8px 8px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    background: white;
    overflow-y: auto;
    outline: none;
    transition: border-color 0.2s ease;
    cursor: text;
    position: relative;
}

.rich-text-editor:empty:before {
    content: "Start typing here...";
    color: #86868b;
    font-style: italic;
    position: absolute;
    top: 1rem;
    left: 1rem;
    pointer-events: none;
}

.rich-text-editor:focus:empty:before {
    display: none;
}

.rich-text-editor:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.rich-text-editor:hover {
    border-color: #d1d5db;
}

/* Make it look more like a textarea */
.rich-text-editor {
    resize: vertical;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.rich-text-editor[data-field="fullJobAdvertisement"] {
    min-height: 200px;
}

.rich-text-editor[data-field="requirements"] {
    min-height: 120px;
}

/* Fix for ordered lists in rich text editor */
.rich-text-editor ol {
    padding-left: 2rem !important;
    margin: 0.5rem 0;
}

.rich-text-editor ul {
    padding-left: 2rem !important;
    margin: 0.5rem 0;
}

.rich-text-editor li {
    margin: 0.25rem 0;
    padding-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .upload-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .rich-text-toolbar {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .toolbar-btn {
        min-width: 32px;
        padding: 0.4rem;
    }
}



/* Provost Dashboard Styles */
.approval-overview,
.recruitment-metrics,
.compliance-overview,
.strategic-metrics {
    margin-bottom: 2rem;
}

.approval-queue,
.unit-summary,
.compliance-details,
.strategic-planning-interface {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.approval-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.approval-filters select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 150px;
}

.approval-items,
.unit-list,
.compliance-list {
    min-height: 200px;
}

.no-approvals,
.no-units,
.no-compliance-issues,
.no-memo-selected {
    text-align: center;
    padding: 3rem 1rem;
    color: #86868b;
}

.no-approvals i,
.no-units i,
.no-compliance-issues i,
.no-memo-selected i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.no-approvals p,
.no-units p,
.no-compliance-issues p,
.no-memo-selected p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-approvals .subtitle,
.no-units .subtitle,
.no-compliance-issues .subtitle,
.no-memo-selected .subtitle {
    font-size: 0.9rem;
    color: #a1a1a6;
}

.memo-selection {
    margin-bottom: 1.5rem;
}

.memo-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.memo-selector label {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.9rem;
}

.memo-selector select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 300px;
}

.memo-review-panel {
    min-height: 200px;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f9f9f9;
}

.memo-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e7;
}

.memo-actions h4 {
    margin-bottom: 1rem;
    color: #1d1d1f;
    font-size: 1.1rem;
}

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

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

.decision-form .form-group input,
.decision-form .form-group select,
.decision-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
}

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

.decision-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.decision-form .form-actions .btn {
    min-width: 140px;
}

/* Committee Member Dashboard Styles */
.criteria-overview {
    margin-bottom: 2rem;
}

.criteria-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border-left: 4px solid #0071e3;
}

.criteria-section h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.criteria-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.criteria-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #86868b;
}

.criteria-details li:last-child {
    border-bottom: none;
}

.scoring-guide {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

.collaboration-tools {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.tool-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tool-actions .btn {
    min-width: 160px;
}

.recent-discussions h4 {
    margin-bottom: 1rem;
    color: #1d1d1f;
    font-size: 1.1rem;
}

.discussion-list {
    min-height: 200px;
}

.no-discussions {
    text-align: center;
    padding: 3rem 1rem;
    color: #86868b;
}

.no-discussions i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.no-discussions p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-discussions .subtitle {
    font-size: 0.9rem;
    color: #a1a1a6;
}

.assignments-list {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.assignment-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.assignment-filters select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 150px;
}

.assignments {
    min-height: 200px;
}

.no-assignments {
    text-align: center;
    padding: 3rem 1rem;
    color: #86868b;
}

.no-assignments i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.no-assignments p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-assignments .subtitle {
    font-size: 0.9rem;
    color: #a1a1a6;
}

/* Strategic Planning Styles */
.initiative-overview {
    margin-bottom: 2rem;
}

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

.initiative-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #0071e3;
}

.initiative-card h4 {
    color: #1d1d1f;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.initiative-card p {
    color: #86868b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e5e7;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #0071e3;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.initiative-progress span {
    font-size: 0.9rem;
    color: #86868b;
    font-weight: 500;
    min-width: 80px;
}

.strategic-planning-tools h4 {
    margin-bottom: 1rem;
    color: #1d1d1f;
    font-size: 1.1rem;
}

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

.planning-actions .btn {
    min-width: 180px;
}

/* ===== COMMITTEE CHAIR DASHBOARD STYLES ===== */
.committee-overview {
    margin-bottom: 2rem;
}

.committee-overview h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.committee-overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.committee-overview-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.committee-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.committee-overview-card h4 {
    color: #1d1d1f;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.committee-overview-card .metric {
    font-size: 2rem;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 0.5rem;
}

.committee-overview-card .subtitle {
    color: #86868b;
    font-size: 0.9rem;
}

.committee-overview-card .trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.trend.positive {
    color: #28a745;
}

.trend.negative {
    color: #dc3545;
}

.trend.neutral {
    color: #6c757d;
}

.committee-overview-card .trend i {
    font-size: 0.8rem;
}

.committee-overview-card .trend span {
    font-weight: 500;
}

.committee-overview-card .trend .change {
    font-weight: 600;
}

.committee-overview-card .trend .period {
    color: #a1a1a6;
    font-size: 0.8rem;
}

.committee-management {
    margin-bottom: 2rem;
}

.committee-management h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

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

.committee-management-tool {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.committee-management-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.committee-management-tool h4 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.committee-management-tool p {
    color: #86868b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.committee-management-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.committee-management-actions .btn {
    min-width: 140px;
}

.committee-oversight {
    margin-bottom: 2rem;
}

.committee-oversight h3 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

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

.committee-oversight-tool {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.committee-oversight-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.committee-oversight-tool h4 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.committee-oversight-tool p {
    color: #86868b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.committee-oversight-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.committee-oversight-actions .btn {
    min-width: 140px;
}

/* Committee Chair Dashboard Responsive Design */
@media (max-width: 768px) {
    .committee-overview-cards,
    .committee-management-tools,
    .committee-oversight-tools {
        grid-template-columns: 1fr;
    }
    
    .committee-management-actions,
    .committee-oversight-actions {
        flex-direction: column;
    }
    
    .committee-management-actions .btn,
    .committee-oversight-actions .btn {
    width: 100%;
    min-width: auto;
}

/* Applicant Dashboard styles moved to recruitment-styles.css */

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.welcome-section h1 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.welcome-section p {
    color: #86868b;
    font-size: 1.1rem;
}

/* Authentication Panel */
.auth-panel {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #e1e5e9;
}

.auth-tab {
    flex: 1 !important;
    padding: 0.75rem 1.5rem !important;
    background: #f5f5f7 !important;
    border: 1px solid #e5e5e7 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #1d1d1f !important;
    transition: all 0.2s ease !important;
    margin: 0 0.25rem !important;
    min-width: 120px !important;
}

.auth-tab:hover {
    background: #e5e5e7;
    transform: translateY(-1px);
}

.auth-tab.active {
    color: #0071e3;
    background: #0071e3;
    color: white;
    border-color: #0071e3;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

/* Old auth-form rules removed - now using .login-form */

.auth-form h3 {
    margin: 0 0 1.5rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
    text-align: center;
}

.demo-info {
    text-align: center;
    color: #6c757d;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
}

.btn-success {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

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

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.dashboard-header h2 {
    margin: 0;
    color: #1d1d1f;
    font-size: 1.5rem;
}

/* Application List */
.application-list {
    margin-bottom: 2rem;
}

.no-applications {
    text-align: center;
    padding: 3rem 1rem;
    color: #86868b;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.no-applications i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-applications h3 {
    margin: 0.5rem 0;
    color: #1d1d1f;
    font-size: 1.25rem;
}

.no-applications p {
    margin: 0.5rem 0 1.5rem 0;
    color: #86868b;
}

/* Application Cards */
.application-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.application-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.application-header h4 {
    margin: 0;
    color: #1d1d1f;
    font-size: 1.1rem;
}

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

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

.status-submitted {
    background: #d1ecf1;
    color: #0c5460;
}

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

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

.status-interviewed {
    background: #e2e3e5;
    color: #383d41;
}

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

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

.application-details {
    margin-bottom: 1rem;
}

.application-details p {
    margin: 0.25rem 0;
    color: #86868b;
    font-size: 0.9rem;
}

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

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

/* Force Override for Position Action Buttons */
.position-actions .btn.btn-sm {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    min-width: 100px !important;
    max-width: 150px !important;
    width: auto !important;
    display: inline-block !important;
}

.position-actions .btn.btn-primary {
    width: auto !important;
    max-width: 150px !important;
    display: inline-block !important;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    margin: 2rem auto;
    max-width: 1200px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.modal-header h3 {
    margin: 0;
    color: #1d1d1f;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #86868b;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: #f8f9fa;
}

.modal-body {
    padding: 1.5rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    margin: 0 0 1rem 0;
    color: #1d1d1f;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f8f9fa;
}

/* Rich Text Editor */
.rich-text-editor {
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    width: 100%;
}

.rich-text-editor .ql-container {
    width: 100%;
}

.rich-text-editor .ql-editor {
    min-height: 150px;
    font-family: inherit;
    width: 100%;
}

.rich-text-editor .ql-editor {
    min-height: 150px;
    font-family: inherit;
}

.rich-text-editor .ql-toolbar {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #e1e5e9;
}

/* References */
.reference-entry {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.reference-entry:last-child {
    margin-bottom: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .dashboard-header .btn {
        width: 100%;
    }
    
    .modal-content {
        margin: 1rem;
        max-width: none;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .application-actions {
        flex-direction: column;
    }
    
    .application-actions .btn {
        width: 100%;
    }
}



/* Demo Mode Styles */
.demo-notice {
    text-align: center;
    padding: 2rem 1rem;
    color: #0c5460;
    background: #d1ecf1;
    border-radius: 8px;
    border: 2px solid #bee5eb;
    margin-bottom: 2rem;
}

.demo-notice i {
    font-size: 2rem;
    color: #0c5460;
    margin-bottom: 1rem;
}

.demo-notice h3 {
    margin: 0.5rem 0;
    color: #0c5460;
    font-size: 1.25rem;
}

.demo-notice p {
    margin: 0.5rem 0;
    color: #0c5460;
}

.demo-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.demo-actions .btn {
    min-width: 200px;
}

/* Applicant Dashboard Form Styles - Using form-grid pattern */
.applicant-dashboard .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Ensure full-width form groups span the entire grid */
.applicant-dashboard .form-group.full-width {
    grid-column: 1 / -1;
    width: 100%;
}

.applicant-dashboard .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.applicant-dashboard .form-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.applicant-dashboard .form-group input,
.applicant-dashboard .form-group select,
.applicant-dashboard .form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

/* Fix oversized buttons in auth forms */
.auth-form .btn {
    width: auto;
    min-width: 120px;
    padding: 0.75rem 1.5rem;
}

/* Recruitment module styles moved to recruitment-styles.css */

.applicant-dashboard .form-group input:focus,
.applicant-dashboard .form-group select:focus,
.applicant-dashboard .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.applicant-dashboard .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.applicant-dashboard .form-group.full-width {
    grid-column: 1 / -1;
}

/* Rich text editor container */
.applicant-dashboard .rich-text-editor {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.applicant-dashboard .rich-text-editor .ql-editor {
    min-height: 150px;
    font-family: inherit;
}

.applicant-dashboard .rich-text-editor .ql-toolbar {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #d1d5db;
}

/* Profile Completion Progress Indicator - REMOVED DUPLICATE */

.progress-bar {
    width: 100px;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

#completionPercentage {
    font-weight: bold;
    color: #333;
    min-width: 40px;
}

#completionDetails {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.profile-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.profile-modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.profile-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.profile-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Profile Completion Badge - Enhanced Design with Percentage */
.profile-completion-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
    border: 2px solid white;
    animation: badgePulse 3s ease-in-out infinite;
    z-index: 10;
    transition: all 0.3s ease;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

/* Color coding based on completion percentage */
.profile-completion-badge.low {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4) !important;
}

.profile-completion-badge.medium {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.4) !important;
}

.profile-completion-badge.high {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4) !important;
}

.profile-completion-badge.complete {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4) !important;
}

@keyframes badgePulse {
    0% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
    100% { 
        transform: scale(1);
    }
}

/* Profile Progress Ring - Circular Progress Indicator */
.profile-progress-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid #e9ecef; /* Thicker border for better visibility */
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;
    /* Debug: Make sure it's visible */
    opacity: 1;
    visibility: visible;
    /* Add subtle shadow for better definition */
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

/* Ensure profile icon container has proper positioning */
.profile-icon-container {
    position: relative;
    transition: transform 0.2s ease;
}

.profile-icon-container:hover {
    transform: scale(1.05);
}

/* Profile completion tooltip */
.profile-completion-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -35px;
    right: -10px;
    background: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.profile-completion-badge::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 5px;
    border: 4px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.profile-completion-badge:hover::after,
.profile-completion-badge:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Tab Navigation Layout */
.tab-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

/* Applicant Profile Status Badge - NEW UNIQUE CLASS */
.applicant-profile-status-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    border: 2px solid #007bff !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: white !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000 !important;
    position: relative !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.applicant-profile-status-badge .status-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.applicant-profile-status-badge .status-percentage {
    font-weight: 700 !important;
    color: white !important;
    font-size: 18px !important;
}

/* Color coding for completion levels - NEW UNIQUE CLASS */
.applicant-profile-status-badge.low {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    border-color: #dc3545 !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.applicant-profile-status-badge.medium {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
    border-color: #17a2b8 !important;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3) !important;
}

.applicant-profile-status-badge.high {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    border-color: #ffc107 !important;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3) !important;
}

.applicant-profile-status-badge.complete {
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
    border-color: #28a745 !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}

/* Application Filters - Better Spacing - FORCE OVERRIDE */
.application-filters {
    margin-bottom: 2.5rem !important;
    padding: 1.5rem !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    border: 1px solid #e9ecef !important;
    margin-top: 2rem !important;
}

.filter-group {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.filter-group label {
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 1rem !important;
}

.filter-group select {
    padding: 0.75rem 1rem !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 8px !important;
    background: white !important;
    font-size: 0.95rem !important;
    color: #495057 !important;
    min-width: 200px !important;
    transition: border-color 0.3s ease !important;
}

.filter-group select:focus {
    outline: none !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1) !important;
}

/* Position Cards - ENHANCED DESIGN */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.position-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 2px solid #e9ecef !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
}

.position-card:last-child {
    margin-bottom: 0 !important;
}

.position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.position-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: #007bff;
}

.position-card:hover::before {
    opacity: 1;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f3f4;
}

.position-header h5 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    flex: 1;
    line-height: 1.3;
}

.position-header h5 i {
    color: #007bff;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.position-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    min-width: 120px;
}

.department {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 600;
    text-align: right;
    line-height: 1.2;
}

.position-content {
    margin-bottom: 2rem;
}

.position-content p {
    margin: 0.75rem 0;
    font-size: 1rem;
    color: #495057;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.position-content p strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 100px;
    margin-right: 0.5rem;
}

.position-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.position-actions .btn {
    padding: 0.6rem 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-size: 0.85rem !important;
    min-width: 100px !important;
    max-width: 150px !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    gap: 0.4rem !important;
    width: auto !important;
}

.position-actions .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.status-badge.draft {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-color: #ffc107;
}

.status-badge.submitted {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-color: #28a745;
}

.status-badge.none {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    border-color: #dee2e6;
}

.status-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Loading and Empty States - Enhanced */
.loading-positions {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.2rem;
    font-weight: 500;
}

.loading-positions i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
    display: block;
}

.no-positions {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

.no-positions i {
    font-size: 4rem;
    color: #adb5bd;
    margin-bottom: 1.5rem;
    display: block;
}

.no-positions h4 {
    margin: 1.5rem 0 1rem 0;
    color: #495057;
    font-weight: 600;
    font-size: 1.5rem;
}

.no-positions p {
    margin: 0.75rem 0;
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .position-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .position-meta {
        align-items: flex-start;
        min-width: auto;
    }
    
    .position-actions {
        justify-content: center;
    }
    
    .position-actions .btn {
        min-width: 100px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Position-specific tab styles */
.tab-btn[data-position-id] {
    position: relative;
    min-width: 120px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-btn[data-position-id] .status-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Application status view styles */
.application-status-view {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.success-message {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

.application-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.application-details h4 {
    margin-bottom: 1rem;
    color: #495057;
}

.application-details p {
    margin-bottom: 0.5rem;
}

.status-badge.submitted {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.next-steps {
    background: #e7f3ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.next-steps h4 {
    color: #0056b3;
    margin-bottom: 1rem;
}

.next-steps ul {
    margin: 0;
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.application-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Position details styles */
.position-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

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

.info-item {
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Responsive adjustments for position tabs */
@media (max-width: 768px) {
    .tab-btn[data-position-id] {
        min-width: 100px;
        max-width: 150px;
        font-size: 0.875rem;
    }
    
    .application-status-view {
        padding: 1rem;
    }
    
    .application-actions {
        flex-direction: column;
    }
    
    .position-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Discovery section styles */
.discovery-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

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

.discovery-header h3 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.discovery-header h3 i {
    color: #ffc107;
    margin-right: 0.5rem;
}

.discovery-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.other-positions-container {
    margin-bottom: 2rem;
}

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

.discovery-position-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.discovery-position-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.discovery-position-card .position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.discovery-position-card .position-header h4 {
    margin: 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.department-badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.discovery-position-card .position-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.discovery-position-card .meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.discovery-position-card .meta-item i {
    color: #007bff;
}

.discovery-position-card .position-description {
    margin-bottom: 1.5rem;
}

.discovery-position-card .position-description p {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.discovery-position-card .position-actions {
    display: flex;
    gap: 0.75rem;
}

.discovery-position-card .position-actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.more-positions {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

.more-positions p {
    margin-bottom: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.no-other-positions {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-other-positions i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
    display: block;
}

.no-other-positions h4 {
    margin: 1rem 0 0.5rem 0;
    color: #495057;
    font-weight: 600;
}

.no-other-positions p {
    margin: 0.5rem 0;
    color: #6c757d;
    font-size: 1rem;
}

.discovery-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.discovery-actions .btn {
    min-width: 200px;
}

/* Loading states for discovery */
.loading-positions {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.loading-positions i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
    display: block;
}

.loading-positions p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* Error states for discovery */
.error-message {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.error-message p {
    margin: 0;
    font-weight: 500;
}

/* Toast notification styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    border-left: 4px solid #007bff;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left-color: #28a745;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-info {
    border-left-color: #17a2b8;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-content i {
    font-size: 1.2rem;
}

.toast-success .toast-content i {
    color: #28a745;
}

.toast-error .toast-content i {
    color: #dc3545;
}

.toast-info .toast-content i {
    color: #17a2b8;
}
