/* Enhanced CSS for Faculty Management System */
:root {
    --primary-color: #6200ff;
    --secondary-color: #9242f4;
    --accent-color: #fbbc05;
    --success-color: #34a853;
    --warning-color: #fbbc05;
    --danger-color: #ea4335;
    --text-color: #202124;
    --text-secondary: #5f6368;
    --background-color: #ffffff;
    --card-bg: #f8f9fa;
    --border-color: #dadce0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --central-notice-color: #1a73e8;
    --department-notice-color: #34a853;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --notice-type-central-bg :rgba(255, 183, 2, 0.218);
    --notice-type-central-color: rgb(255, 111, 0);
    --notice-priority-danger-bg:rgba(168, 52, 52, 0.1);
    --notice-priority-danger-color:#ff0000;
    --notice-priority-primary-bg:rgba(26, 115, 232, 0.1);
    --notice-priority-primary-color:#002eff;
    --notice-type-department-color :rgb(51, 1, 78);
    --notice-type-department-bg :rgba(181, 43, 255, 0.224);

}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: var(--transition);
    line-height: 1.6;
}

/* Beta Version Tag */
.beta-tag {
    position: fixed;
    top: 10%;
    left: -93px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1001;
    box-shadow: var(--shadow);
    /* animation: pulse 2s infinite; */
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: right center;
    white-space: nowrap;
    cursor: pointer;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Login page css start  */

.login-container {
    display: flex;
    width: 70%;
    max-width: 1200px;
    min-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    margin-top: 5%;
}

.login-card {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
}

.login-header {
    text-align: center;
    margin-bottom: 0px;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.login-header h2 {
    color: var(--text-color);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    z-index: 2;
}

.input-group input {
    width: 100%;
    /* padding: 16px 16px 16px 48px; */
    padding: 10px 16px 10px 50px;
    border: 2px solid var(--border-color);
    /* border-radius: 12px; */
    font-size: 16px;
    color: var(--text-color);
    background: var(--background-color);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.password-toggle {
    position: absolute;
    right: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 2;
    padding: 4px;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.remember-me label {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 40%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    left: 29%;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn.loading .btn-text {
    opacity: 0;
}

.login-btn.loading .btn-loader {
    display: block !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-footer {
    text-align: center;
    margin-top: 32px;
}

.login-footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-bg {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="30" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.bg-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.bg-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.bg-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.5;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    opacity: 0.9;
}

.feature i {
    width: 24px;
    text-align: center;
}

/* Error States */
.input-group.error input {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.1);
}

.error-message {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Success States */
.input-group.success input {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .right-prt{
        display: none;
    }
    .login-container {
        flex-direction: column;
        margin: 20px;
        min-height: auto;
    }
    
    .login-bg {
        order: -1;
        min-height: 200px;
    }
    
    .login-card {
        padding: 40px 20px;
    }
    
    .bg-content h3 {
        font-size: 24px;
    }
    
    .bg-content p {
        font-size: 16px;
    }
    
    .features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}
}

@media (max-width: 480px) {
    .right-prt{
        display: none;
    }
    .login-container {
        margin: 10px;
        border-radius: 16px;
    }
    
    .login-card {
        padding: 30px 16px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
    
    .login-footer{
    text-align: center;
    margin-top: 10px;
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .form-options {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.6s ease-out;
}

.bg-content {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
/* Login page css end  */

/* Header Section */
.header-section {
    position: relative;
    z-index: 1000;
}

.search-container {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
    background-color: var(--background-color);
}

.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-bar:focus-within {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.search-bar i {
    color: var(--text-secondary);
    margin-right: 12px;
    font-size: 16px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: var(--text-color);
    font-size: 16px;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

.profile-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.profile-icon:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Profile Menu */
.profile-menu {
    position: absolute;
    top: 100%;
    right: 16px;
    width: 320px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.profile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-header {
    padding: 7px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
}


/*
@media(max-width:967px){
        .profile-avatar {
    width: 76px !important;
    height: 50px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
}
} */

.profile-info h5 {
    margin: 0;
    color: var(--text-color);
    font-size: 18px;
}

.profile-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.profile-options {
    padding: 8px 0;
}

.profile-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.profile-option:hover {
    background-color: var(--background-color);
}

.profile-option.logout {
    color: var(--danger-color);
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.profile-option i {
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    padding: 20px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Add Notice Section */
.add-notice-section {
    margin-bottom: 32px;
}

.add-notice-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.notice-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.notice-option {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.notice-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: white;
    font-size: 24px;
}

.option-icon.central {
    background: linear-gradient(135deg, var(--central-notice-color), #4285f4);
}

.option-icon.department {
    background: linear-gradient(135deg, var(--department-notice-color), #81c995);
}

.option-content h5 {
    margin: 0 0 4px 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
}

.option-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Notice Carousel Section */
.notice-carousel-section {
    margin-bottom: 32px;
        margin-top: -40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.carousel-controls {
    display: flex;
    gap: 8px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--card-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.notice-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    margin: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    min-height: 13rem;
    position: relative; 
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}

.notice-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.notice-type {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-type.central {
    background-color: var(--notice-type-central-bg);
    color:var(--notice-type-central-color);
}

.notice-type.department {
    background-color: var(--notice-type-department-bg);
    color:var(--notice-type-department-color);
}
.notice-priority {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-priority.notice-danger {
    background-color: var(--notice-priority-danger-bg);
    color: var(--notice-priority-danger-color);
}
.notice-priority.notice-primary {
    background-color: var(--notice-priority-primary-bg);
    color: var(--notice-priority-primary-color);
}
.notice-priority.notice-success {
    background-color: rgba(52, 168, 83, 0.1);
    color: var(--department-notice-color);
}

.notice-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 12%;
}
.modal-notice-date{

    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    position: absolute;
    right: 80px;
}
.notice-card h4 {
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.4;
}

.notice-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.notice-actions {
    position: absolute;
    bottom: 16px;
    left: 24px;
    display: flex;
    gap: 8px;
    width: 100%;
}

/* Departments Section - Reduced size for desktop */
.departments-section {
    margin-bottom: 32px;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.department-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.department-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.department-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 24px;
}

.department-icon.cs {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
}

.department-icon.ee {
    background: linear-gradient(135deg, #ea4335, #d33b2c);
}

.department-icon.me {
    background: linear-gradient(135deg, #34a853, #2d8f47);
}

.department-icon.ce {
    background: linear-gradient(135deg, #fbbc05, #f9ab00);
}

.department-icon.phy {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.department-icon.chem {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.department-icon.math {
    background: linear-gradient(135deg, #607d8b, #455a64);
}

.department-icon.bio {
    background: linear-gradient(135deg, #8bc34a, #689f38);
}

.department-card h5 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.department-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 8px;
}

.stat {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Admin Functions Section */
.admin-functions-section {
    margin-bottom: 32px;
}

.function-category {
    margin-bottom: 32px;
}

.function-category h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.function-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 10px; */
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
}

.function-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.function-icon {
       width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 24px;
}
.fi-scheduling{
    margin: auto;
}
.function-icon i{
    font-size: 15px;
}
.function-card span {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

/* Theme Toggle */
/* Theme Toggle Styles */
.theme-toggle-container {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    position: relative;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    overflow: hidden;
}

.theme-toggle-btn:hover {
    box-shadow: var(--shadow-hover);
}

.theme-toggle-btn i {
    font-size: 14px;
    padding: 0 6px;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 1;
}

.theme-toggle-btn .fa-sun {
    color: var(--warning-color);
}

.theme-toggle-btn .fa-moon {
    color: var(--primary-color);
}

.theme-toggle-ball {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    left: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    z-index: 2;
}

/* Dark mode toggle position */
[data-theme="dark"] .theme-toggle-ball {
    transform: translateX(24px);
    background: var(--accent-color);
}
.theme-toggle button:hover {
    transform: scale(1.1);
}

/* Modal Enhancements */
.modal-content {
    background-color: var(--background-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-bottom: none;
        padding: 1.5rem;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.modal-body {
    padding: 24px;
}

.form-control,
.form-select {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 115, 232, 0.25);
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--background-color);
    color: black;
    border-color: var(--primary-color);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background-color: transparent;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-secondary:hover {
    background-color: var(--card-bg);
    border-color: var(--text-color);
    color: var(--text-color);
}

/* Report Generation Options */
.report-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.report-option {
    padding: 12px;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.report-option:hover,
.report-option.active {
    border-color: var(--primary-color);
    background-color: rgba(26, 115, 232, 0.1);
}

.report-option i {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.report-option span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
    margin-top: 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
}

/* Mobile Responsive Design - Match the shared image */
@media (max-width: 767px) {

    .main-content {
        padding: 16px 12px;
    }

    .notice-options {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .notice-option {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px;
    }

    .option-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .option-content h5 {
        font-size: 14px;
    }

    .option-content p {
        font-size: 12px;
    }

    /* Department cards - mobile layout like the image */
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .department-card {
        padding: 16px 12px;
    }

    .department-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 8px;
    }

    .department-card h5 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .stat {
        font-size: 10px;
    }

    /* Function categories - mobile layout */
    .function-category h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .function-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .function-card {
       
        padding: 13px 10px;
    }

    .function-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 8px;
    }
    .function-icon i{
    font-size: 17px;
}

    .function-card span {
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .add-notice-section {
        margin-top: -20px;
    }

    .add-notice-section h2 {
        font-size: 20px;
    }

    /* notice carousel */
    .notice-carousel-section {
        margin-top: -20px;
    }

    /* department section  */
    .departments-section {
        margin-top: -20px;
    }

    /* Notice cards mobile */
    .notice-card {
        padding: 16px;
        margin: 4px;
    }

    .notice-card h4 {
        font-size: 16px;
    }

    .notice-card p {
        font-size: 12px;
    }

    /* Profile menu mobile */
    .profile-menu {
        width: 280px;
        right: 12px;
    }

    /* Beta tag mobile */
    .beta-tag {
        position: fixed;
        top: 10%;
        left: -65px;
        padding: 17px 11px 8px 11px;
        border-radius: 10px;
        font-size: 9px;
    }
    /* dark theme toggler */
    .theme-toggle {
    right: 24px;
    z-index: 1000;
    position: none;
}
.notice-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 0%;
    margin-top: 8px;
}
.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}
.notice-actions {
    position: absolute;
    bottom: 16px;
    left: 15px;
    display: flex;
    gap: 8px;
    width: 100%;
}
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
    .main-content {
        padding: 32px 24px;
    }

    .notice-options {
        grid-template-columns: 1fr 1fr;
    }

    .search-container {
        padding: 20px 24px;
    }

    .function-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    /* Smaller department cards for desktop */
    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
    }

    .profile-menu {
        right: 24px;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding: 40px 32px;
    }

    .function-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .departments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .departments-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .function-grid {
        grid-template-columns: repeat(9, 1fr);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-item {
    padding: 0 8px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
    display: none;
}

.owl-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 4px;
    cursor: pointer;
    transition: var(--transition);
}

.owl-carousel .owl-dot.active {
    background-color: var(--primary-color);
}

 /* Custom Carousel Styles */
        .notice-carousel-container {
            position: relative;
            padding: 0 60px; /* Add padding for the navigation buttons */
        }
        
        .carousel-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: none;
            background-color: var(--card-bg);
            color: var(--text-color);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
            z-index: 10;
            font-size: 18px;
        }
        
        .carousel-nav-btn:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: var(--shadow-hover);
        }
        
        .carousel-nav-btn.prev {
            left: 10px;
        }
        
        .carousel-nav-btn.next {
            right: 10px;
        }
        
        /* Hide default Owl Carousel navigation */
        .owl-carousel .owl-nav {
            display: none !important;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .notice-carousel-container {
                padding: 0 50px;
            }
            
            .carousel-nav-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            
            .carousel-nav-btn.prev {
                left: 5px;
            }
            
            .carousel-nav-btn.next {
                right: 5px;
            }
        }
        
        @media (max-width: 480px) {
            .notice-carousel-container {
                padding: 0 45px;
            }
            
            .carousel-nav-btn {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }
            
            .carousel-nav-btn.prev {
                left: 2px;
            }
            
            .carousel-nav-btn.next {
                right: 2px;
            }
        }

/* faculty section css start */
/* Quick Actions Section */
    .quick-actions-section {
        margin-bottom: 32px;
    }

    .quick-actions-section h2 {
        font-size: 24px;
        margin-bottom: 16px;
        color: var(--text-color);
        font-weight: 600;
    }

    .quick-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quick-action {
        display: flex;
        align-items: center;
        padding: 20px;
        background-color: var(--card-bg);
        border-radius: 12px;
        border: 2px solid var(--border-color);
        cursor: pointer;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .quick-action:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
        border-color: #1976d2;
    }

    .action-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        color: white;
        font-size: 24px;
    }

    .action-icon.attendance {
        background: linear-gradient(135deg, #1976d2, #2196f3);
    }

    .action-icon.grades {
        background: linear-gradient(135deg, #ff9800, #ff7043);
    }

    .action-content h5 {
        margin: 0 0 4px 0;
        color: var(--text-color);
        font-size: 18px;
        font-weight: 600;
    }

    .action-content p {
        margin: 0;
        color: var(--text-secondary);
        font-size: 14px;
    }
    

      
  /* class start faculty section */
    .classes-section {
        margin-bottom: 32px;
    }

    .classes-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }

    .class-card {
        background-color: var(--card-bg);
        border-radius: 12px;
        padding: 20px;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
    }

    .class-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .class-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .class-code {
        font-size: 14px;
        font-weight: 600;
        color: #1976d2;
        background-color: rgba(46, 125, 50, 0.1);
        padding: 4px 8px;
        border-radius: 6px;
    }

    .class-time {
        font-size: 12px;
        color: var(--text-secondary);
    }

    .class-card h5 {
        font-size: 18px;
        margin-bottom: 8px;
        color: var(--text-color);
        font-weight: 600;
    }

    .class-stats {
        display: flex;
        justify-content: space-between;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }

    @media (min-width: 768px) {
        .quick-actions {
            grid-template-columns: 1fr 1fr;
        }
    }
      /* class end faculty section */

/* faculty section css end */

/* Faculty class record update start  */
/* Faculty class record update end */





