* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', sans-serif; background: #1A1F2E; min-height: 100vh; color: #D3D3D3; } .header { position: fixed; top: 0; left: 0; right: 0; background: #1A1F2E; border-bottom: 1px solid #2E3447; padding: 15px 20px; display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); z-index: 1000; } .header h1 { font-size: 1.8rem; font-weight: 700; color: #D3D3D3; display: flex; align-items: center; gap: 8px; } .header h1 i { color: #00A3E0; font-size: 1.5rem; } #infoButton { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #00A3E0; font-size: 1.5rem; cursor: pointer; transition: color 0.3s ease; } #infoButton:hover { color: #0087B8; } .container { max-width: 1280px; margin: 0 auto; padding: 80px 20px 80px 20px; display: flex; flex-direction: column; } .content-wrapper { display: flex; flex: 1; } .sidebar { display: none; width: 200px; background: #1A1F2E; border-right: 1px solid #2E3447; padding: 20px; height: calc(100vh - 60px); position: fixed; top: 60px; left: 0; } .bottom-nav { display: flex; justify-content: space-around; position: fixed; bottom: 0; left: 0; right: 0; background: #1A1F2E; border-top: 1px solid #2E3447; padding: 10px 0; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); z-index: 1000; } .tab-item { padding: 10px 20px; font-size: 1rem; font-weight: 500; color: #D3D3D3; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; } .bottom-nav .tab-item { text-align: center; padding: 8px; margin: 0 5px; } .bottom-nav .tab-item i { font-size: 1.6rem; } .tab-item.active, .tab-item:hover { color: #00A3E0; } .bottom-nav .tab-item.active, .bottom-nav .tab-item:hover { background: #2E3447; border-radius: 16px; padding: 0px 15px 0px 15px; } .sidebar .tab-item { display: block; padding: 15px; margin-bottom: 10px; border-radius: 8px; } .sidebar .tab-item.active, .sidebar .tab-item:hover { background: #2E3447; } .tab-content { display: none; width: 100%; } .tab-content.active { display: block; } .search-card-container { display: flex; justify-content: center; align-items: center; height: 40vh; } .search-card { background: #1A1F2E; border-radius: 15px; padding: 20px; width: 100%; max-width: 500px; } .search-card img { max-width: 180px; height: auto; margin: 0 auto 20px; display: block; border-radius: 38px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); } .input-container { position: relative; width: 100%; } #studentId { width: 100%; padding: 12px 100px 12px 15px; font-size: 1rem; border: 1px solid #2E3447; border-radius: 25px; background: #2E3447; color: #D3D3D3; transition: all 0.3s ease; } #studentId:focus { outline: none; border-color: #00A3E0; box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.2); } #searchButton { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: #00A3E0; color: #D3D3D3; border: none; padding: 8px 15px; border-radius: 20px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: background 0.3s ease; } #searchButton:hover { background: #0087B8; } #errorMessage { color: #FF4040; text-align: center; margin-top: 10px; font-size: 0.9rem; display: none; } .card { background: #1A1F2E; border-radius: 12px; box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2); padding: 20px; margin-bottom: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; } .card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); } .card h2 { color: #D3D3D3; font-size: 1.8rem; font-weight: 600; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; } .card h2 i { color: #00A3E0; } .card h3 { color: #D3D3D3; font-size: 1.4rem; font-weight: 600; margin-bottom: 15px; } .profile-section { text-align: center; margin-bottom: 20px; } .profile-icon { font-size: 5rem; color: #D3D3D3; background: linear-gradient(135deg, #00A3E0, #1A1F2E); border-radius: 50%; padding: 10px; display: inline-block; margin-bottom: 10px; border: 2px solid #2E3447; } .details-grid { display: grid; grid-template-columns: 1fr; gap: 15px; } .detail-item { display: flex; align-items: center; gap: 10px; font-size: 1rem; padding: 15px; background: #2E3447; border-radius: 10px; transition: background 0.3s ease; } .detail-item:hover { background: #3A405A; } .detail-item i { color: #00A3E0; font-size: 1.2rem; } .detail-item strong { color: #D3D3D3; font-weight: 500; } .semester-table { margin-bottom: 20px; } .semester-header { display: flex; align-items: center; gap: 20px; margin: 0 0 0px 15px; } .semester-table h3 { color: #D3D3D3; font-size: 1.4rem; font-weight: 600; display: flex; align-items: center; gap: 10px; margin: 0; } .semester-table h3 i { color: #00A3E0; } .table-container { overflow-x: auto; overflow-y: auto; max-height: calc(100vh - 200px); width: 100%; } .table-container::-webkit-scrollbar { width: 8px; height: 8px; } .table-container::-webkit-scrollbar-track { background-color: #1A1F2E; } .table-container::-webkit-scrollbar-thumb { background-color: #00A3E0; border-radius: 4px; } .table-container::-webkit-scrollbar-thumb:hover { background-color: #1A1F2E; } .course-cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 20px; } .course-card { background: #1A1F2E; border-radius: 12px; box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2); padding: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; } .course-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); } .course-card .details-grid { gap: 10px; } .dropdown-toggle { display: flex; justify-content: center; align-items: center; padding: 10px 0; cursor: pointer; } .dropdown-toggle i { color: #00A3E0; font-size: 1.2rem; transition: transform 0.3s ease, color 0.3s ease; } .dropdown-toggle i:hover { color: #0087B8; } .dropdown-toggle.open i { transform: rotate(180deg); } .dropdown-content { display: none; margin-top: 10px; } .sgpa { font-weight: 500; color: #D3D3D3; font-size: 1rem; display: flex; align-items: center; gap: 8px; margin: 0; } .sgpa i { color: #00A3E0; } #loadingOverlay { position: fixed; top: 60px; left: 0; width: 100%; height: calc(100% - 120px); background: rgba(26, 31, 46, 0.7); display: none; justify-content: center; align-items: center; z-index: 900; } .loading-text { color: #D3D3D3; font-size: 1.5rem; font-weight: 500; background: #00A3E0; padding: 15px 25px; border-radius: 10px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); } .loading-text i { color: #D3D3D3; animation: spin 1s linear infinite; } #alertModal, #developerModal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 31, 46, 0.5); display: flex; justify-content: center; align-items: center; z-index: 950; } #alertModal .modal-content, #developerModal .modal-content { background: #1A1F2E; border-radius: 15px; padding: 20px; max-width: 410px; width: 90%; text-align: center; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); margin: auto; } #alertModal p, #developerModal p { color: #D3D3D3; font-size: 1rem; font-weight: 500; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; } #alertModal p i, #developerModal p i { color: #FF4040; font-size: 1.2rem; } #alertModal button, #developerModal button { background: #00A3E0; color: #D3D3D3; border: none; padding: 10px 20px; border-radius: 25px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: background 0.3s ease; } #alertModal button:hover, #developerModal button:hover { background: #0087B8; } @keyframes spin { 100% { transform: rotate(360deg); } } #searchLoadingOverlay { position: fixed; top: 60px; left: 0; width: 100%; height: -webkit-fill-available; background: rgba(26, 31, 46, 0.7); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 1001; pointer-events: none; } #searchLoadingOverlay .loading-text { color: #00A3E0; font-size: 1.5rem; font-weight: 500; background: #2E3447; padding: 15px 25px; border-radius: 10px; display: flex; margin: 0 auto; max-width: 320px; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); } #searchLoadingOverlay .loading-text i { color: #D3D3D3; animation: spin 1s linear infinite; } @media (min-width: 768px) { .bottom-nav { display: none; } .sidebar { display: block; } .tab-content { margin-left: 220px; } .header h1 { font-size: 2rem; } .header h1 i { font-size: 1.8rem; } .content-wrapper { padding: 49px 0px 0px 0px; } } @media (max-width: 767px) { .header h1 { font-size: 1.5rem; max-width: 80%; } .header h1 i { font-size: 1.3rem; } #infoButton { font-size: 1.3rem; } .container { padding-top: 20px; } .card { padding: 15px; } .course-card { max-width: 90%; } .search-card img { max-width: 130px; } .sidebar { display: none; } .bottom-nav .tab-item span { display: none; } .bottom-nav .tab-item i { font-size: 1.4rem; } .table-container { max-height: calc(100vh - 180px); } .profile-icon { font-size: 4rem; } .detail-item { font-size: 0.95rem; padding: 12px; } .detail-item i { font-size: 1.1rem; } .card h3 { font-size: 1.3rem; } #alertModal .modal-content, #developerModal .modal-content { padding: 15px; } #alertModal p, #developerModal p { font-size: 0.9rem; } #alertModal button, #developerModal button { padding: 8px 16px; font-size: 0.9rem; } .content-wrapper { padding: 49px 0px 0px 0px; } } @media (max-width: 480px) { .header h1 { font-size: 1.3rem; max-width: 70%; } .header h1 i { font-size: 1.1rem; } #infoButton { font-size: 1.1rem; right: 15px; } #studentId { font-size: 0.95rem; padding: 10px 90px 10px 12px; } #searchButton { padding: 5px 9px; font-size: 0.9rem; right: 7px; } .card { padding: 0px !important; } .course-card { max-width: 100%; padding: 12px; } .course-card .detail-item { font-size: 0.9rem; padding: 10px; } .course-card .detail-item i { font-size: 1rem; } .dropdown-toggle i { font-size: 1rem; } .semester-table h3 { font-size: 1.2rem; } .sgpa { font-size: 0.9rem; } .bottom-nav .tab-item i { font-size: 1.2rem; } .search-card img { max-width: 130px; } .profile-icon { font-size: 3rem; } .detail-item { font-size: 0.9rem; padding: 10px; } .detail-item i { font-size: 1rem; } .card h3 { font-size: 1.2rem; } #alertModal .modal-content, #developerModal .modal-content { max-width: 347px; } #alertModal p, #developerModal p { font-size: 0.85rem; } .content-wrapper { padding: 49px 0px 0px 0px; } }