.loader { border: 4px solid #f3f3f3; /* Light gray */ border-top: 4px solid #3498db; /* Blue */ border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; display: block; margin: 20px auto; /* Centers the loader */ } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .resume-popup { top: 200px !important; } .details-screen { padding: 5px !important; } #billContainer { padding: 5px !important; } .details-screen { padding: 5px; } .bill-table th { padding: 5px; font-size: 12px; } .bill-table td{ font-size: 12px; } #homework-body,school-body td { white-space: pre-wrap; white-space: pre-line; } #toggle-profile-data { padding: 5px 15px; } .attendance-calendar-container { border: 2px solid #333; padding: 10px; display: inline-block; } .attendance-calendar-table { border-collapse: collapse; width: 100%; } .attendance-calendar-table th, .attendance-calendar-table td { border: 1px solid #999; width: 40px; height: 40px; text-align: center; vertical-align: middle; } .attendance-calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .att-p { background-color: #c8f7c5; /* light green */ } .att-hd { background-color: #f7c5c5; /* light red */ } .att-a { background-color: #f44336; /* red */ color: #fff; } .current-day { outline: 2px solid #7588b5a8; box-shadow: inset 0 0 0 2px #fff3f3; } .school-container,.profile-container,.homework-container{ padding:10px; } /* General combined table styles */ .combined-table { width: 100%; border-collapse: collapse; font-family: system-ui, sans-serif; font-size: 0.9rem; } .combined-table th, .combined-table td { border: 1px solid #ccc; padding: 8px 10px; text-align: left; } /* Header style */ .combined-table thead tr { background: linear-gradient(135deg, #f0f0f0, #e0e0e0); color: #333; font-weight: bold; } /* Holiday rows */ .combined-table tr[style*="#ff7043"] { background: linear-gradient(135deg, #ff8a65, #ff7043); color: #fff; } /* Special Day rows */ .combined-table tr[style*="#fff9c4"] { background: linear-gradient(135deg, #fffde7, #fff9c4); color: #333; } /* Optional: hover effect */ .combined-table tbody tr:hover { opacity: 0.9; } /* Container styling */ #storeContainer { display: flex; flex-direction: column; gap: 20px; padding: 10px; } /* Product card */ .product-card { display: flex; flex-direction: row; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.1); } .product-image { flex: 0 0 150px; max-width: 150px; overflow: hidden; } .product-image img { width: 100%; height: auto; display: block; } .product-details { flex: 1; padding: 15px; } .product-details h4 { margin: 0 0 10px; font-size: 1.2em; } .product-details p { margin: 4px 0; font-size: 0.95em; } .product-details .price { font-weight: bold; color: #d32f2f; } .buy-btn { margin-top: 10px; padding: 8px 16px; background: #ff7043; color: #fff; border: none; border-radius: 4px; cursor: pointer; } .buy-btn:hover { background: #f4511e; } /* Summary table container */ .leave-summary { margin: 20px 0; border-radius: 8px; overflow-x: auto; } .leave-summary table { width: 100%; border-collapse: collapse; } .leave-summary thead { background: #1976d2; /* Deep blue */ color: #fff; } .leave-summary th, .leave-summary td { padding: 10px; text-align: center; border: 1px solid #ddd; } .leave-summary tr:nth-child(even) { background: #f9f9f9; } .leave-summary tr:hover { background: #f1f1f1; } .leave-summary button { background: #1976d2; border: none; color: #fff; padding: 5px 10px; border-radius: 4px; cursor: pointer; } .leave-summary button:hover { background: #0d47a1; } /* Detailed section */ .leave-details { margin: 20px 0; } .leave-section { background: #f1f8e9; /* Light green tint */ padding: 15px; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .leave-section h4 { margin-top: 0; } .leave-section table { width: 100%; border-collapse: collapse; font-size: smaller; } .leave-section th, .leave-section td { padding: 8px; border: 1px solid #ccc; } .leave-section thead { background: #f15347bd; color: #fff; } .leave-section tr:nth-child(even) { background: #f9f9f9; } .leave-section tr:hover { background: #f1f1f1; }