:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary: #4285f4;
    --success: #34a853;
    --danger: #ea4335;
    --warning: #fbbc05;
    --light: #f8f9fa;
    --dark: #202124;
    --gray: #5f6368;
    --gray-light: #dadce0;
    --white: #ffffff;
    --radius: 8px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}
/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
}

.toggle-input {
    height: 0;
    width: 0;
    opacity: 0;
    position: absolute;
}

.toggle-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    margin-right: 10px;
    transition: var(--transition);
}

.toggle-label:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.toggle-input:checked + .toggle-label {
    background-color: var(--success);
}

.toggle-input:checked + .toggle-label:before {
    transform: translateX(26px);
}

.toggle-text {
    font-size: 14px;
    transition: var(--transition);
}
/* Additional styles for the edit form */
.edit-btn {
    background-color: var(--secondary);
    color: white;
}

.edit-btn:hover {
    background-color: var(--primary-dark);
}

.save-btn {
    background-color: var(--success);
    color: white;
}

.save-btn:hover {
    background-color: #2d8e47;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--gray);
}
/* Connecting animation boxes */
.animation-container {
    position: relative;
}

.animation-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, transparent 60%, rgba(26, 115, 232, 0.1) 100%);
    z-index: 1;
}
* Financial Information Section Styling */
.financial-info-container {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.financial-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.financial-item {
    position: relative;
    padding-left: 8px;
    border-left: 3px solid var(--primary);
}

.financial-label {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 5px;
    font-weight: 500;
}

.financial-value {
    font-size: 18px;
    color: var(--dark);
    font-weight: 500;
}

/* Different colors for each financial item */
.financial-item:nth-child(1) {
    border-left-color: var(--primary);
}

.financial-item:nth-child(2) {
    border-left-color: var(--success);
}

.financial-item:nth-child(3) {
    border-left-color: var(--warning);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .financial-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .financial-item {
        padding-bottom: 10px;
    }
    
    .financial-value {
        font-size: 16px;
    }
}
/* UTSE Section Styling */
.profile-sub-section {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.profile-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.profile-sub-title {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
}

.profile-action-btn {
    background-color: #4776E6;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
}

.profile-action-btn:hover {
    background-color: #3967d6;
}

.utse-marks-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.utse-mark-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.utse-mark-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.utse-mark-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* UTSE Edit Modal Styling */
#utseEditModal .profile-modal {
    max-width: 500px;
}

#utseEditModal .form-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    display: block;
}

#utseEditModal .form-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

#utseEditModal .profile-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    transition: all 0.3s;
}

#utseEditModal .profile-btn-primary {
    background-color: #4776E6;
    color: white;
}

#utseEditModal .profile-btn-primary:hover {
    background-color: #3967d6;
}

#utseEditModal .profile-btn:not(.profile-btn-primary) {
    background-color: #f0f0f0;
    color: #333;
}

#utseEditModal .profile-btn:not(.profile-btn-primary):hover {
    background-color: #e0e0e0;
}
/* Status and Progress */
.animation-status {
    width: 80%;
    margin-top: 30px;
    text-align: center;
}

.status-text {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 15px;
}

.status-progress {
    height: 8px;
    width: 100%;
    background-color: #3a3a3a;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--primary), var(--success));
    border-radius: 4px;
}

.progress-bar.animate {
    animation: fillProgress 2.5s ease forwards;
}

@keyframes fillProgress {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Success Message */
.success-message {
    margin-top: 30px;
    background-color: rgba(52, 168, 83, 0.15);
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message i {
    color: var(--success);
    font-size: 24px;
    margin-right: 10px;
}

/* Layout for the Institute-Hostel boxes and connection */
.animation-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 40px;
}

.institute-box {
    order: 1;
}

.transfer-path {
    order: 2;
    margin: 0 20px;
    align-self: center;
}

.hostel-box {
    order: 3;
}

.animation-status {
    order: 4;
    margin-top: 50px;
    width: 100%;
}

.success-message {
    order: 5;
    margin-top: 20px;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .animation-container {
        padding: 30px 20px;
    }
    
    .transfer-path {
        width: 150px;
    }
    
    .institute-box, .hostel-box {
        width: 90px;
        height: 90px;
    }
    
    .institute-icon, .hostel-icon {
        font-size: 28px;
    }
}

/* Data particles effect */
.animation-container {
    position: relative;
}
/* Additional CSS for the particles effect */

/* Data particles container */
.data-particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

/* Individual particle */
.data-particle {
    position: absolute;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 15;
}

/* Enhance the animation with pulse effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

.institute-box, .hostel-box {
    animation: pulse 2s infinite;
}

.institute-box {
    animation-delay: 0s;
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.4);
}

.hostel-box {
    animation-delay: 1s;
    box-shadow: 0 0 10px rgba(52, 168, 83, 0.4);
}

/* Add animated text shadow to the icons */
.institute-icon i {
    text-shadow: 0 0 8px rgba(26, 115, 232, 0.6);
}

.hostel-icon i {
    text-shadow: 0 0 8px rgba(52, 168, 83, 0.6);
}

/* Add a scale animation on success */
.success-message.show i {
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Add a subtle floating effect to the boxes */
.institute-box {
    animation: float 3s ease-in-out infinite;
}

.hostel-box {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Make the transfer path more visually appealing */
.transfer-path {
    background-image: linear-gradient(to right, rgba(66, 133, 244, 0.2), rgba(52, 168, 83, 0.2));
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Add a slight rotation to particles for more organic movement */
.data-particle {
    transition-property: opacity, transform, background-color;
    will-change: opacity, transform, background-color;
}

/* Make the success message animated */
.success-message.show {
    animation: slideUpFade 0.6s ease forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    20% {
        opacity: 0.7;
        transform: translate(var(--x), var(--y)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--x2), var(--y2)) scale(0.2);
    }
}/* Additional CSS for the particles effect */

/* Data particles container */
.data-particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

/* Individual particle */
.data-particle {
    position: absolute;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 15;
}

/* Enhance the animation with pulse effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

.institute-box, .hostel-box {
    animation: pulse 2s infinite;
}

.institute-box {
    animation-delay: 0s;
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.4);
}

.hostel-box {
    animation-delay: 1s;
    box-shadow: 0 0 10px rgba(52, 168, 83, 0.4);
}

/* Add animated text shadow to the icons */
.institute-icon i {
    text-shadow: 0 0 8px rgba(26, 115, 232, 0.6);
}

.hostel-icon i {
    text-shadow: 0 0 8px rgba(52, 168, 83, 0.6);
}

/* Add a scale animation on success */
.success-message.show i {
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Add a subtle floating effect to the boxes */
.institute-box {
    animation: float 3s ease-in-out infinite;
}

.hostel-box {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Make the transfer path more visually appealing */
.transfer-path {
    background-image: linear-gradient(to right, rgba(66, 133, 244, 0.2), rgba(52, 168, 83, 0.2));
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Add a slight rotation to particles for more organic movement */
.data-particle {
    transition-property: opacity, transform, background-color;
    will-change: opacity, transform, background-color;
}

/* Make the success message animated */
.success-message.show {
    animation: slideUpFade 0.6s ease forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional section for notes in profile view */
.note-section {
    background-color: #f8f9fa;
    border-left: 3px solid var(--primary);
    padding: 15px;
    margin-top: 10px;
    border-radius: var(--radius);
}

.note-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.note-content {
    font-size: 14px;
    color: var(--dark);
    white-space: pre-line;
}

/* Empty note style */
.note-empty {
    font-style: italic;
    color: var(--gray);
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: var(--primary-dark);
    color: white;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow);
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     background:#fff;
}

.sidebar-header img {
    max-width: 80px;
    margin-bottom: 10px;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    transition: var(--transition);
    max-width: calc(100% - 250px);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 20px;
}

.page-title {
    font-size: 24px;
    font-weight: 500;
}

.search-date-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-container {
    position: relative;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.pending {
    background-color: var(--warning);
    color: #333;
}

.status-badge.active {
    background-color: var(--success);
    color: white;
}

/* QR Code Container Styling */
.qr-code-container {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.qr-code-container img {
    max-width: 100%;
    height: auto;
}

.qr-code-label {
    position: absolute;
    bottom: -15px;
    font-size: 12px;
    color: var(--gray);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
}

@media print {
    /* General print styles */
    body * {
        visibility: hidden;
    }
    
    .print-form-container, .print-form-container * {
        visibility: visible;
    }
    
    .print-form-container {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: white !important;
    }
    
    .profile-modal-overlay{
         display: none !important;
    }
    
    .no-print {
        display: none !important;
    }
    
    /* Force background colors and other styles to print */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    /* Ensure page breaks work properly */
    .print-form > div {
        page-break-inside: avoid;
    }
    
    /* Strengthening specific colors to ensure they print well */
    .print-form h1, .print-form h2 {
        color: black !important;
        font-weight: bold !important;
    }
    
    .print-form [style*="border-left"] {
        border-left-width: 6px !important;
    }
    
    /* Making status badges more visible in print */
    .print-form [style*="status-badge"],
    .print-form [style*="background-color"] {
        border: 1px solid #333 !important;
    }
}

/* Styles for better printing in Chrome */
@page {
    size: auto;
    margin: 0mm;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    width: 300px;
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.date-picker {
    padding: 10px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--white);
}

.date-picker:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    animation: fadeIn 0.5s ease;
}

.student-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.3s ease;
    border-left: 4px solid var(--primary);
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.student-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary);
}

.student-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 5px;
}

.admission-id {
    font-size: 14px;
    color: var(--gray);
}

.card-body {
    font-size: 14px;
}

.student-detail {
    display: flex;
    margin-bottom: 8px;
}

.detail-label {
    width: 100px;
    font-weight: 500;
    color: var(--gray);
}

.detail-value {
    flex: 1;
    color: var(--dark);
}

.course-badge {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}

/* Student Profile Modal */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.profile-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.profile-modal {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    height: 90%;
    max-height: 700px;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.profile-modal-overlay.active .profile-modal {
    transform: translateY(0);
    opacity: 1;
}

.profile-modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 5;
}

.profile-modal-title {
    font-size: 20px;
    font-weight: 500;
}

.profile-modal-actions {
    display: flex;
    gap: 10px;
}

.profile-modal-btn {
    padding: 8px 15px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: var(--transition);
}

.print-btn {
    background-color: var(--primary);
    color: white;
}

.print-btn:hover {
    background-color: var(--primary-dark);
}

.close-btn {
    background-color: var(--gray-light);
    color: var(--dark);
}

.close-btn:hover {
    background-color: var(--gray);
    color: white;
}

.profile-modal-body {
    padding: 20px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-header {
    display: flex;
    align-items: start;
    gap: 20px;
}

.profile-photo {
    width: 150px;
    height: 180px;
    object-fit: cover;
    border: 1px solid var(--gray-light);
}

.profile-info {
    flex: 1;
}

.profile-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.profile-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.profile-detail-item {
    margin-bottom: 15px;
}

.profile-detail-label {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 5px;
}

.profile-detail-value {
    font-size: 16px;
    color: var(--dark);
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--primary-dark);
}

/* Print Form Styling */
.print-form-container {
    display: none;
}

@media print {
    body * {
        visibility: hidden;
    }
    .print-form-container, .print-form-container * {
        visibility: visible;
    }
    .print-form-container {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: white;
    }
    .no-print {
        display: none !important;
    }
    
    /* Ensure page break doesn't happen within a section */
    .print-form > div {
        page-break-inside: avoid;
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.5s ease;
}

.empty-state-icon {
    font-size: 60px;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 10px;
}

.empty-state-message {
    font-size: 16px;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }
    
    .sidebar-header img {
        display: none;
    }
    
    .sidebar-header:after {
        content: "UIK";
        font-size: 20px;
        font-weight: bold;
    }
    
    .nav-item span {
        display: none;
    }
    
    .nav-item i {
        margin-right: 0;
        font-size: 20px;
    }
    
    .main-content {
        max-width: calc(100% - 80px);
    }
}
/* Add these styles to your existing CSS file */

/* Grid layout for form */
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.grid-span-full {
    grid-column: 1 / -1;
}

/* Section titles with icons */
.section-title {
    margin: 20px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    color: #396afc;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    color: #396afc;
}

/* Profile edit modal specific styles */
#profileEditModal .profile-modal {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.save-profile-btn {
    background-color: #28a745;
    color: white;
}

.save-profile-btn:hover {
    background-color: #218838;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-date-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .profile-header {
        flex-direction: column;
    }
    
    .profile-photo {
        width: 120px;
        height: 150px;
    }
}