/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Calibri', 'Candara', 'Segoe', 'Segoe UI', 'Optima', Arial, sans-serif;
    background: linear-gradient(135deg, #0c1a2d 0%, #162447 50%, #1a1a2e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
    font-weight: 300;
}

/* Glass Effect Header */
header {
    background: rgba(15, 30, 60, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(64, 156, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 40, 120, 0.3);
    padding: 2rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Glass Effect Animation */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
    transparent 30%,
    rgba(64, 156, 255, 0.1) 50%,
    transparent 70%);
    animation: glassShine 3s infinite linear;
    z-index: 1;
}

@keyframes glassShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

header img {
    border-radius: 50%;
    border: 3px solid rgba(64, 156, 255, 0.3);
    box-shadow: 0 0 20px rgba(64, 156, 255, 0.4);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(64, 156, 255, 0.6);
}

/* Typography - Modern Fonts */
h1 {
    font-family: Constantia;
    font-weight: 300;
    color: #409cff;
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(64, 156, 255, 0.5);
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #409cff;
    animation:
            typing 3.5s steps(40, end),
            blink-caret 0.75s step-end infinite;
    letter-spacing: 1px;
}

h2 {
    font-family: 'Calibri Light', 'Candara', 'Segoe UI Light', 'Roboto Light', sans-serif;
    font-weight: 300;
    color: #409cff;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h3 {
    font-family: 'Calibri', 'Candara', 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 400;
    color: #8ab4f8;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Typewriter effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #409cff }
}

/* Main Section Styling */
#main-section {
    background: rgba(15, 30, 60, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    border: 1px solid rgba(64, 156, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 20, 60, 0.4);
}

/* Button Styling */
button {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a5fb4 0%, #409cff 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent);
    transition: left 0.5s;
    z-index: -1;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(64, 156, 255, 0.4);
}

button:hover::before {
    left: 100%;
}

button:active {
    transform: translateY(0);
}

/* Form Styling */
form {
    margin-top: 1.5rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

input, select {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(64, 156, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

input:focus, select:focus {
    outline: none;
    border-color: #409cff;
    box-shadow: 0 0 10px rgba(64, 156, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

select option {
    background: #1a1a2e;
    color: white;
    font-weight: 400;
}

/* HR Styling */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg,
    transparent,
    rgba(64, 156, 255, 0.5),
    transparent);
    margin: 2rem 0;
}

/* Dashboard Styling */
#dashboard {
    background: rgba(15, 30, 60, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 1000px;
    margin: 2rem auto;
    border: 1px solid rgba(64, 156, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 20, 60, 0.5);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#dashboard h2 {
    color: #409cff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.4rem;
    text-shadow: 0 0 15px rgba(64, 156, 255, 0.3);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Department Sections Styling */
.department-section {
    background: rgba(25, 40, 80, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(64, 156, 255, 0.2);
    transition: all 0.3s ease;
}

.department-section:hover {
    background: rgba(35, 50, 90, 0.8);
    border-color: rgba(64, 156, 255, 0.4);
    box-shadow: 0 5px 15px rgba(64, 156, 255, 0.2);
    transform: translateY(-2px);
}

/* Department Header */
.dept-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dept-header > a {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #409cff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.dept-header > a:hover {
    background: rgba(64, 156, 255, 0.1);
    transform: translateX(5px);
}

/* Department Select Wrapper */
.dept-select-wrapper {
    background: rgba(10, 25, 50, 0.8);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(64, 156, 255, 0.2);
}

.dept-select-wrapper label {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    display: block;
    color: #8ab4f8;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.dept-select-wrapper select {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    width: 100%;
    padding: 10px 15px;
    background: rgba(20, 40, 80, 0.9);
    border: 1px solid rgba(64, 156, 255, 0.4);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.dept-select-wrapper select:hover {
    border-color: #409cff;
    box-shadow: 0 0 15px rgba(64, 156, 255, 0.3);
}

.dept-select-wrapper select:focus {
    outline: none;
    border-color: #409cff;
    box-shadow: 0 0 20px rgba(64, 156, 255, 0.4);
}

/* Navigation Styling */
nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

nav > ul > li {
    background: rgba(25, 40, 80, 0.6);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(64, 156, 255, 0.2);
}

nav > ul > li:hover {
    transform: translateY(-3px);
    background: rgba(35, 50, 90, 0.8);
    border-color: rgba(64, 156, 255, 0.4);
    box-shadow: 0 5px 15px rgba(64, 156, 255, 0.2);
}

/* Make Academic Notes & Tutorials take full width */
.department-section {
    grid-column: 1 / -1;
}

/* Links Styling */
nav a {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    color: #8ab4f8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding-left: 10px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

nav a:hover {
    color: #409cff;
    text-shadow: 0 0 5px rgba(64, 156, 255, 0.5);
    background: rgba(64, 156, 255, 0.1);
    transform: translateX(5px);
}

/* Dropdown Styling */
.dropdown-btn {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    width: 100%;
    text-align: left;
    background: linear-gradient(135deg, #2a4b8c 0%, #3a6bc0 100%);
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(64, 156, 255, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dropdown-btn:hover {
    background: linear-gradient(135deg, #3a6bc0 0%, #2a4b8c 100%);
}

.dropdown-content {
    display: none;
    padding: 15px;
    background: rgba(20, 35, 75, 0.95);
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(64, 156, 255, 0.2);
    border-top: none;
    margin-top: -5px;
    animation: dropdownSlide 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 400px;
    }
}

.dropdown-content li {
    background: transparent;
    border: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-content li:not(:last-child) {
    border-bottom: 1px solid rgba(64, 156, 255, 0.1);
}

.dropdown-content li:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.dropdown-content a {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 400;
}

.dropdown-content a:hover {
    background: rgba(64, 156, 255, 0.15);
}

/* Footer Styling */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(64, 156, 255, 0.2);
    text-align: center;
    color: #8ab4f8;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-bottom a {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    color: #409cff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #8ab4f8;
    text-shadow: 0 0 5px rgba(64, 156, 255, 0.5);
    text-decoration: underline;
}

/* Notes and Tutorials Form Styling */
#notesFormContainer, #tutorialsFormContainer {
    background: rgba(20, 40, 80, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(64, 156, 255, 0.3);
}

#notesFormContainer h4, .tutorial-section h5 {
    color: #8ab4f8;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(64, 156, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #409cff;
    box-shadow: 0 0 10px rgba(64, 156, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.tutorial-section {
    background: rgba(15, 30, 60, 0.7);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.tutorial-section h5 {
    color: #409cff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

/* Exam Type specific styling */
#examType, #youtubeExamType, #websiteExamType {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(64, 156, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
    font-weight: 400;
    cursor: pointer;
}

#examType:focus, #youtubeExamType:focus, #websiteExamType:focus {
    outline: none;
    border-color: #409cff;
    box-shadow: 0 0 10px rgba(64, 156, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

#examType option, #youtubeExamType option, #websiteExamType option {
    background: #1a1a2e;
    color: white;
    font-weight: 400;
}

/* Form input validation styling */
input:invalid, textarea:invalid, select:invalid {
    border-color: #ff6b6b;
}

input:valid, textarea:valid, select:valid {
    border-color: #4ecdc4;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    #main-section, #dashboard {
        padding: 1.5rem;
        margin: 1rem;
    }

    nav ul {
        grid-template-columns: 1fr;
    }

    header {
        padding: 1.5rem;
    }

    .dept-header > a {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    input, select {
        padding: 10px;
        font-size: 0.95rem;
    }

    .dropdown-btn {
        padding: 12px 15px;
        font-size: 1.1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 30, 60, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a5fb4 0%, #409cff 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #409cff 0%, #1a5fb4 100%);
}

/* Animation for department sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-section {
    animation: fadeInUp 0.5s ease forwards;
}

/* General font improvements */
p, li, label, span {
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
}

/* Improve readability */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
/* ============================================ */
/* PASSWORD VALIDATION STYLES */
/* ============================================ */

.password-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #8ab4f8 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    padding: 0 !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
}

.password-toggle:hover {
    color: #409cff !important;
    background: rgba(64, 156, 255, 0.1) !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    padding-right: 40px !important;
    width: 100% !important;
}

/* Password Validation Display */
#passwordValidation {
    margin-top: 10px;
    background: rgba(20, 40, 80, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(64, 156, 255, 0.2);
    display: none;
}

#passwordValidation h5 {
    color: #8ab4f8;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.validation-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.validation-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.validation-icon.valid {
    background-color: #2ecc71;
    color: white;
}

.validation-icon.invalid {
    background-color: #e74c3c;
    color: white;
}

.validation-text {
    flex: 1;
    color: #e0e0e0;
}

/* Password Strength Bar */
.password-strength-container {
    margin-top: 10px;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

#passwordStrength {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #8ab4f8;
    text-align: right;
}

/* Form Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 5px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.validation-success {
    animation: pulse 0.5s ease;
}

/* Tooltip for password requirements */
.password-tooltip {
    position: absolute;
    right: -10px;
    top: -35px;
    background: rgba(15, 30, 60, 0.95);
    color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    border: 1px solid rgba(64, 156, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: none;
}

.password-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: rgba(15, 30, 60, 0.95);
    transform: rotate(45deg);
    border-right: 1px solid rgba(64, 156, 255, 0.3);
    border-bottom: 1px solid rgba(64, 156, 255, 0.3);
}
/* ============================================ */
/* SKILL DEVELOPMENT FORM STYLES */
/* ============================================ */

.skill-form-container {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-form input,
.skill-form select,
.skill-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(64, 156, 255, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Calibri', 'Candara', 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
}

.skill-form input:focus,
.skill-form select:focus,
.skill-form textarea:focus {
    outline: none;
    border-color: #409cff;
    box-shadow: 0 0 10px rgba(64, 156, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.skill-form label {
    color: #8ab4f8;
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: block;
    font-weight: 500;
}

.skill-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.skill-form .form-row > div {
    flex: 1;
}

.skill-form textarea {
    resize: vertical;
    min-height: 60px;
}

.skill-submit-btn {
    background: linear-gradient(135deg, #1a5fb4 0%, #409cff 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

.skill-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 156, 255, 0.3);
}

.skill-submit-btn:active {
    transform: translateY(0);
}

/* Skill level badges */
.skill-level-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 5px;
    text-transform: uppercase;
}

.level-beginner { background-color: #2ecc71; color: white; }
.level-intermediate { background-color: #3498db; color: white; }
.level-advanced { background-color: #9b59b6; color: white; }
.level-expert { background-color: #e74c3c; color: white; }

/* Resource type icons */
.resource-type-icon {
    display: inline-block;
    margin-right: 5px;
    font-size: 0.9rem;
}

.type-youtube { color: #ff0000; }
.type-website { color: #4285f4; }
.type-document { color: #34a853; }
.type-course { color: #9c27b0; }
.type-tool { color: #ff9800; }
/* ============================================ */
/* FIXED DROPDOWN & FORM STYLES */
/* ============================================ */

/* Ensure dropdown content stays on top of other elements */
.dropdown-content {
    position: relative;
    z-index: 1000 !important;
}

/* Skill form container z-index */
.skill-form-container {
    position: relative;
    z-index: 1001 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Prevent form elements from closing dropdown */
.skill-form * {
    pointer-events: auto !important;
}

/* Dropdown link styling */
.dropdown-content a {
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(64, 156, 255, 0.15) !important;
    padding-left: 15px !important;
}

/* Active dropdown button */
.dropdown-btn.active {
    background: linear-gradient(135deg, #3a6bc0 0%, #2a4b8c 100%) !important;
    border-color: rgba(64, 156, 255, 0.5) !important;
}

/* Form input focus effects */
.skill-form select:focus,
.skill-form input:focus,
.skill-form textarea:focus {
    border-color: #409cff !important;
    box-shadow: 0 0 0 2px rgba(64, 156, 255, 0.2) !important;
    outline: none !important;
}

/* Form element spacing */
.skill-form > div {
    margin-bottom: 12px;
}

/* Responsive form layout */
@media (max-width: 768px) {
    .skill-form .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .skill-form .form-row > div {
        min-width: 100%;
    }

    .skill-form-container {
        margin: 10px 0;
        padding: 12px;
    }
}
/* Notes/Tutorials Display */
.note-card, .tutorial-card {
    background: rgba(25, 40, 80, 0.6);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(64, 156, 255, 0.2);
    transition: all 0.3s ease;
}

.note-card:hover, .tutorial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(64, 156, 255, 0.2);
}

.view-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1a5fb4 0%, #409cff 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: linear-gradient(135deg, #409cff 0%, #1a5fb4 100%);
}

.count-badge {
    background: #409cff;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.stats-bar {
    background: rgba(15, 30, 60, 0.8);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}
/* ============================================ */
/* NEW FEATURES STYLES */
/* ============================================ */

/* Count badges */
.count-badge {
    display: inline-block;
    background: linear-gradient(135deg, #409cff 0%, #1a5fb4 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 8px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Display cards */
.note-card, .tutorial-card {
    background: linear-gradient(145deg, rgba(25, 40, 80, 0.8), rgba(15, 30, 60, 0.9));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(64, 156, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 20, 60, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.note-card::before, .tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #409cff, #1a5fb4);
}

.note-card:hover, .tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(64, 156, 255, 0.25);
    border-color: rgba(64, 156, 255, 0.4);
}

/* Filter buttons */
.exam-filter-btn, .tut-type-filter-btn {
    background: rgba(64, 156, 255, 0.2) !important;
    border: 1px solid rgba(64, 156, 255, 0.3) !important;
    color: #8ab4f8 !important;
    padding: 8px 15px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.exam-filter-btn:hover, .tut-type-filter-btn:hover {
    background: rgba(64, 156, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

.exam-filter-btn.active, .tut-type-filter-btn.active {
    background: rgba(64, 156, 255, 0.4) !important;
    border-color: #409cff !important;
    color: white !important;
    box-shadow: 0 0 15px rgba(64, 156, 255, 0.3) !important;
}

/* Stats bar */
.stats-bar {
    background: linear-gradient(135deg, rgba(20, 40, 80, 0.9), rgba(10, 25, 50, 0.9));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(64, 156, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Back button */
#backToDashboard, #backToDashboard2 {
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

#backToDashboard:hover, #backToDashboard2:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(149, 165, 166, 0.3) !important;
}

/* Utility buttons */
.utility-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin: 5px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.utility-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.utility-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.utility-btn:hover::before {
    left: 100%;
}

/* Button variations */
.utility-btn[style*="background: #3498db"] {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

.utility-btn[style*="background: #9b59b6"] {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%) !important;
}

.utility-btn[style*="background: #e74c3c"] {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

.utility-btn[style*="background: #f39c12"] {
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%) !important;
}

/* Search input */
#searchInput {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(64, 156, 255, 0.3) !important;
    border-radius: 8px !important;
    color: white !important;
    padding: 10px 15px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

#searchInput:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #409cff !important;
    box-shadow: 0 0 15px rgba(64, 156, 255, 0.2) !important;
    outline: none !important;
}

/* Import file label */
label[for="importFile"] {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

label[for="importFile"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* Empty state */
#noNotesMessage, #noTutorialsMessage {
    background: linear-gradient(135deg, rgba(20, 40, 80, 0.8), rgba(15, 30, 60, 0.9));
    border-radius: 15px;
    padding: 60px 30px;
    text-align: center;
    border: 2px dashed rgba(64, 156, 255, 0.3);
}

#noNotesMessage div, #noTutorialsMessage div {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

#shareFirstNote, #shareFirstTutorial {
    background: linear-gradient(135deg, #1a5fb4 0%, #409cff 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

#shareFirstNote:hover, #shareFirstTutorial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 156, 255, 0.3);
}

/* Copy button animation */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.copy-success {
    animation: copySuccess 0.5s ease;
    background: #27ae60 !important;
}

/* Progress bars for statistics */
.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #409cff, #1a5fb4);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .note-card, .tutorial-card {
        margin: 10px 0;
    }

    .stats-bar {
        padding: 15px;
    }

    .utility-btn {
        min-width: 140px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .exam-filter-btn, .tut-type-filter-btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }

    #searchInput {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .count-badge {
        font-size: 0.7rem;
        padding: 1px 6px;
        min-width: 20px;
    }

    .utility-btn {
        min-width: 120px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}
/* ============================================ */
/* COURSE CARD STYLES */
/* ============================================ */

.course-card {
    background: linear-gradient(135deg, rgba(25, 40, 80, 0.7), rgba(15, 30, 60, 0.9));
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(64, 156, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-3px);
    border-color: rgba(64, 156, 255, 0.4);
    box-shadow: 0 5px 15px rgba(64, 156, 255, 0.2);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #409cff, #1a5fb4);
}

.course-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: inline-block;
    padding: 8px;
    border-radius: 8px;
    background: rgba(64, 156, 255, 0.1);
}

.course-code {
    color: #409cff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.course-title {
    color: #8ab4f8;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.course-info {
    display: flex;
    justify-content: space-between;
    color: #b0b0b0;
    font-size: 0.8rem;
    margin-top: 5px;
}

.course-credits::before {
    content: '📚 ';
}

.course-grade::before {
    content: '🏆 ';
}

/* Course tabs */
.course-tab.active {
    background: #1a5fb4 !important;
    border-bottom: 2px solid #409cff !important;
}

.course-tab:hover:not(.active) {
    background: rgba(64, 156, 255, 0.2) !important;
}

/* Course forms */
#courseNotesFormContainer form {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Course grid scrollbar */
.courses-grid::-webkit-scrollbar {
    width: 8px;
}

.courses-grid::-webkit-scrollbar-track {
    background: rgba(15, 30, 60, 0.5);
    border-radius: 4px;
}

.courses-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a5fb4 0%, #409cff 100%);
    border-radius: 4px;
}

/* Department icons */
.dept-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Course count badge */
.course-count {
    background: #409cff;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 8px;
    animation: badgePulse 2s infinite;
}