html, body { overflow-x: hidden; width: 100%; align-items: center; } body { font-family: Arial, sans-serif; background-color: #f5f5f5; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; user-select: none; } header, footer { background-color: #000; padding: 20px; text-align: center; color: #ecf0f1; width: 100%; border: 3px solid #d7d7d7; border-radius: 4px; font-weight: bolder; } h1 { font-size: 3rem; margin-bottom: 5px; padding: 10px; font-weight: bolder; } h2 { font-size: 1.25rem; color: #bdc3c7; padding: 5px; } h3 { font-size: 1.25rem; color: #1a1919; padding: 5px; } main { text-align: center; padding: 2.5rem; width: 100%; } p { font-size: 1.25rem; font-weight: bold; margin-bottom: 1.25rem; color: #000; } .year-dropdown select { align-items: center; padding: 6px; font-weight: bolder; font-size: 20px; border: 3px solid #cccccc; border-radius: 4px; width: 270px; margin-bottom: 20px; } .group-buttons { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 1rem; } .group-buttons button { display: flex; align-items: center; background-color: #000; font-size: 1.75rem; font-weight: bold; text-transform: uppercase; padding: 10px 20px; margin: 1rem; border: none; border-radius: 9px; color: #fff; transition: background-color 0.2s, transform 0.2s; } .group-buttons button img { margin-right: 10px; width: 30px; height: 30px; } .search-input { background: url('search.png') no-repeat 10px center; background-size: 16px 16px; padding-left: 30px; } .group-buttons button:hover { background-color: #555; transform: scale(1.05); } .search-container { margin: 0.625rem 0; width: 100%; padding: 0 10px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; } label { display: block; font-weight: bold; margin-bottom: 0.5rem; } input[type="text"], select { width: 90%; padding: 0.625rem; padding-left: 2%; border: 1px solid #0061FE; border-radius: 4px; box-sizing: border-box; margin-bottom: 0.625rem; } input[type="email"], select { width: 90%; padding: 0.625rem; border: 1px solid #0061FE; border-radius: 4px; box-sizing: border-box; margin-bottom: 0.625rem; } textarea[id="message"], select { width: 90%; padding: 0.625rem; border: 1px solid #0061FE; border-radius: 4px; box-sizing: border-box; margin-bottom: 0.625rem; } textarea[id="InstituationDropdown"], select { width: 90%; padding: 0.625rem; border: 1px solid #0061FE; border-radius: 4px; box-sizing: border-box; margin-bottom: 0.625rem; } table { width: 100%; margin: 1.25rem 0; border-collapse: collapse; overflow-x: auto; display: table; } table, th, td { border: 1px solid #ddd; } th { background-color: #000; color: #fff; cursor: pointer; } th, td { padding: 0.625rem; text-align: left; box-sizing: border-box; } .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_paginate { float: right; text-align: right; } .dataTables_wrapper .dataTables_info { float: left; text-align: left; } .pagination { margin-top: 1.25rem; text-align: center; } button { padding: 0.625rem 1.25rem; align-items: center; font-size: 1rem; background-color: #000; color: white; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.2s ease-in-out, transform 0.2s; } button:hover { background-color: #0df40d; transform: scale(1.05); } .loading-spinner { border: 4px solid rgba(0, 0, 0, 0.1); border-top: 4px solid #000; border-radius: 50%; width: 1.25rem; height: 1.25rem; animation: spin 1s linear infinite; align-items: center; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .popup { border: 4px solid #000000; border-radius: 4px; position: fixed; top: 50%; z-index: 9999; left: 50%; transform: translate(-50%, -50%) scale(0); width: 97%; max-width: 400px; background-color: rgb(255, 255, 255); color: #fff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); padding: 20px; box-sizing: border-box; overflow-y: auto; max-height: 80vh; font-family: 'Helvetica Neue', Arial, sans-serif; animation: popupAnimation 0.5s forwards; } @keyframes popupAnimation { 0% { transform: translate(-50%, -50%) scale(0); } 100% { transform: translate(-50%, -50%) scale(1); } } .popup-content { text-align: left; color: #000; font-size: 0.5rem; } .popup-content h2 { color: #2e7d32; margin: 10px 0; font-size: 1.2rem; border-bottom: 2px solid #2e7d32; padding: 5px 0; } .popup-content button { display: block; margin: 20px auto 0; padding: 10px 20px; background-color: #022802; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .popup-content button:hover { background-color: #555; transform: scale(1.05); } .popup-content p { color: #000000; font-size: medium; font-family: Arial, sans-serif; font-weight: bold; line-height: 1; margin: 15px 0; } .back-button { display: block; margin: 20px auto 0; padding: 10px 20px; background-color: #008c00; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .back-button:hover { background-color: #1b5e20; transform: scale(1.05); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); } .popup-content .progress-bar-container { border: 1px solid #000000; border-radius: 4px; width: 80%; background-color: #bdbcbc; overflow: hidden; margin-top: 0; } .popup-content .progress-bar { height: 10px; text-align: center; font-weight: bolder; line-height: 10px; font-size: 0.7rem; transition: width 1.5s ease, background-color 1.5s ease; color: rgb(255, 255, 255); } .popup-content .progress-bar.yellow { color: black; } .popup-content .close-btn { border: 0.75px solid #080808; border-radius: 2px; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; font-size: 2rem; color: #961010; cursor: pointer; transition: color 0.2s ease-in-out; background: white; display: flex; align-items: center; justify-content: center; box-sizing: border-box; } .popup-content .close-btn:hover { background: red; color: rgb(255, 255, 255); } @media (max-width: 768px) { body { font-size: 0.8rem; overflow-y: auto; } h1 { font-size: 2rem; } h2 { font-size: 1rem; } table, th, td { padding: 0.25em; } button { padding: 0.50rem 0.50rem; font-size: 0.66rem; border: none; border-radius: 0px; } .loading-spinner { width: 1rem; height: 1rem; } .popup { width: 90%; min-height: 89%; padding: 10px; padding-top: 40px; border: 5px; } .back-button { font-size: 0.8rem; padding: 8px 15px; } input[type="text"], select { padding-left: 8%; } } * { -webkit-tap-highlight-color: transparent; user-select: none; } body.locked { overflow: hidden; position: fixed; width: 100%; } .menu-btn { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; z-index: 1001; color: #666666; } .student-name, .student-roll, .student-school { cursor: pointer; } body:not(.dark-mode) .student-name, body:not(.dark-mode) .student-roll, body:not(.dark-mode) .student-school { color: rgb(0, 0, 0); font-weight: bolder; } header img.home-icon { position: absolute; top: 15px; left: 12.5px; width: 18px; height: 18px; cursor: pointer; z-index: 1001; color: #ffffff; cursor:pointer; } @keyframes popupOutAnimation { 0% { transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(0); } } .popup.pop-out { animation: popupOutAnimation 0.5s forwards; } .popup.pop-out.hidden { display: none; } @keyframes ripple { to { transform: scale(4); opacity: 0; } } button { position: relative; overflow: hidden; } button::after { content: ''; position: absolute; width: 100px; height: 100px; background: rgba(255, 255, 255, 0.3); display: block; border-radius: 50%; transform: scale(0); animation: ripple 0.6s linear; pointer-events: none; } button:active::after { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); animation: ripple 0.6s linear; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-spinner { border: 4px solid rgba(0, 0, 0, 0.1); border-top: 4px solid #000; border-radius: 50%; width: 1.25rem; height: 1.25rem; animation: spin 1s linear infinite; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes slideIn { 0% { transform: translateX(-100%); } 100% { transform: translateX(0); } } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } header h1 { animation: fadeIn 2s ease-in-out; } header h2 { animation: fadeIn 2.25s ease-in-out; } #scrollToTopBtn { display: none; position: fixed; top: 20px; right: calc(center); z-index: 99; border: none; outline: none; background-color: #d9d9d9; color: white; cursor: pointer; padding: 0px; border-radius: 150%; } #scrollToTopBtn img { width: 32x; height: 32px; } table.top-institutions { margin-top: 20px; border-collapse: collapse; width: 100%; } .top-institutions th, .top-institutions td { padding: 12px; text-align: center; border: 1px solid #ddd; } .top-institutions th { background-color: #000; color: white; } .top-institutions tbody tr:nth-child(1) { background-color: gold; font-weight: bolder; } .top-institutions tbody tr:nth-child(2) { background-color: silver; font-weight: bolder; } .top-institutions tbody tr:nth-child(3) { background-color: #cd7f32; font-weight: bolder; } input#InstituationDropdown[list] { background: url('search.png') no-repeat 10px center; background-size: 16px 16px; padding-top: 0.625rem; padding-right: 0.625rem; padding-bottom: 0.625rem; padding-left: 40px; font-size: 1rem; width: 90%; border: 1px solid #0061FE; border-radius: 4px; box-sizing: border-box; margin-bottom: 1rem; } .new-box-wrapper { display: flex; justify-content: center; align-items: center; margin-top: 1.5rem; animation: fadeIn 1s ease-in-out; } #featuredBox { position: relative; width: min(90vw, 300px); aspect-ratio: 1 / 1; border-radius: 16px; background: radial-gradient(circle at 30% 30%, #0d1117, #1c1c1c, #2e2e2e); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255,255,255,0.05); display: flex; justify-content: center; align-items: center; color: white; font-size: 2.25rem; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.3s ease; } #featuredBox:hover { transform: scale(1.05) rotate(0.2deg); box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2); } .featured-text { z-index: 2; text-shadow: 0 2px 10px rgba(255, 255, 255, 0.15); } .new-ribbon { position: absolute; top: 12px; left: -50px; transform: rotate(-45deg); background: #ff0055; color: white; padding: 6px 60px; font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; box-shadow: 0 0 12px rgba(255, 0, 85, 0.7); animation: pulseGlow 1.8s infinite ease-in-out; z-index: 5; } @keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 10px #ff0055; } 50% { box-shadow: 0 0 25px white; } } @media (max-width: 768px) { #featuredBox { font-size: 1.5rem; width: 80vw; } } .featured-text { z-index: 2; text-align: center; line-height: 1.1; } .ssc-line { font-size: 4.25rem; font-weight: 900; letter-spacing: 2px; } .year-line { font-size: 7.25rem; font-weight: 1000; letter-spacing: 1px; margin-top: 0.25rem; text-shadow: 0 0 10px rgba(255,255,255,0.2); } .popup-content .comparison-row { display: flex; align-items: center; margin: 4px 0; } .popup-content .comparison-label { flex: 1; text-align: center; font-weight: bold; font-size: 0.85rem; } .compare-row { display: flex; align-items: center; margin: 6px 0 14px; } .bar { height: 12px; border-radius: 3px; } .left-bar { background-color: #4caf50; /* Green */ margin-right: 6px; transform-origin: right; } .right-bar { background-color: #2196f3; /* Blue */ margin-left: 6px; transform-origin: left; } .bar-label { min-width: 30px; text-align: center; font-weight: bold; font-size: 0.9rem; } .compare-table-container { width: 100%; overflow-x: auto; margin: 10px 0; display: flex; justify-content: center; } .compare-table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: 1.05rem; box-shadow: 0 0 10px rgba(0,0,0,0.2); } .compare-table th, .compare-table td { padding: 12px; border: 1px solid #ccc; text-align: center; min-width: 90px; box-sizing: border-box; } .compare-table th { background-color: #000; color: white; font-size: 1.1rem; } .compare-table tr:nth-child(even) { background-color: #f9f9f9; } .ripple { position: absolute; background: rgba(255, 255, 255, 0.4); border-radius: 50%; transform: scale(0); animation: rippleAnimation 0.6s linear; pointer-events: none; width: 100px; height: 100px; opacity: 0.75; } @keyframes rippleAnimation { to { transform: scale(4); opacity: 0; } } /* === Review System Styles (BoardRank Match) === */ .popup-content { background-color: #ffffff; border: 3px solid #000000; border-radius: 6px; padding: 20px; font-family: Arial, sans-serif; margin-top: 20px; box-shadow: 4px 4px 0px #000; } .popup-content h2 { color: #000; font-size: 1.4rem; font-weight: bolder; margin-bottom: 10px; border-bottom: 2px solid #000000; padding-bottom: 5px; } #reviewName, #reviewText { width: 100%; padding: 10px; margin: 10px 0; font-size: 1rem; border: 2px solid #000; border-radius: 4px; background: #fafafa; color: #000; font-weight: bold; } #starContainer span { font-size: 1.6rem; padding: 5px; color: #d4af37; cursor: pointer; } #starContainer span:hover { transform: scale(1.15); color: #ffcc00; } .review-box { background-color: #fff; border: 3px solid #000; padding: 15px; margin-top: 15px; border-radius: 6px; box-shadow: 4px 4px 0px #000; text-align: left; } .review-box strong { font-weight: bolder; color: #000; font-size: 1.1rem; } .review-comment { margin: 10px 0; font-size: 1rem; font-weight: normal; } .reply-box { background-color: #f0f0f0; border-left: 4px solid #008000; margin-top: 10px; padding: 8px 12px; font-size: 0.9rem; border-radius: 4px; } .review-box input[type="text"] { width: 70%; padding: 8px; margin-top: 10px; border: 2px solid #000; border-radius: 4px; font-weight: bold; } .review-box button { background-color: #000; color: #fff; font-weight: bold; padding: 6px 12px; border: none; margin-top: 8px; border-radius: 4px; cursor: pointer; transition: 0.2s; } .review-box button:hover { background-color: #0df40d; color: #000; } .click-count { margin-left: 4px; font-size: 12px; color: gray; } nav[aria-label="breadcrumb"] { display: none !important; } .icon-nav-container { background: #fafafa; max-width: 620px; margin: 30px auto 40px; padding: 15px 25px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: flex; justify-content: center; gap: 28px; } .icon-nav-container a, .icon-nav-container button { background: #e3e3e3; border-radius: 10px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; color: #333; font-size: 1.8rem; border: none; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.05); } .icon-nav-container a:hover, .icon-nav-container button:hover { background-color: #00cc66; color: #fff; box-shadow: 0 6px 14px rgba(0, 204, 102, 0.5); } .icon-nav-container a:focus, .icon-nav-container button:focus { outline: 2px solid #00cc66; outline-offset: 2px; } .locked { overflow: hidden; } .home-icon { width: 32px; height: 32px; } /* Professional icon nav styles */ .icon-nav-wrapper { max-width: 700px; margin: 20px auto 40px; padding: 0 20px; } .icon-nav-container { background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.1); display: flex; justify-content: center; gap: 32px; padding: 15px 25px; } .icon-nav-container a, .icon-nav-container button { background: linear-gradient(145deg, #f0f0f3, #cacccd); border-radius: 14px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; color: #333; font-size: 1.9rem; border: none; cursor: pointer; box-shadow: 3px 3px 6px #bebebe, -3px -3px 6px #ffffff; transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; outline: none; text-decoration: none; box-shadow: none; } .icon-nav-container a:hover, .icon-nav-container button:hover { background: #007bff; color: #fff; box-shadow: 0 0 12px rgba(0,123,255,0.7), inset 0 0 8px rgba(0,123,255,0.5); transform: scale(1.1); } .icon-nav-container a:focus, .icon-nav-container button:focus { outline: 3px solid #007bff; outline-offset: 3px; } @media (max-width: 768px) { header { text-align: center; padding: 10px; } .home-icon { width: 28px; height: 28px; } h1 { padding: 10px; font-size: 1.2rem; } h2 { font-size: 0.9rem; } .icon-nav-container { flex-wrap: wrap; gap: 16px; justify-content: center; padding: 10px; } .icon-nav-container a, .icon-nav-container button { width: 48px; height: 48px; font-size: 1.4rem; } .icon-nav-wrapper { padding: 0 10px; } .year-dropdown select { width: 100%; font-size: 1rem; padding: 8px; } #featuredBox { transform: scale(0.9); margin: 10px auto; } #popupWindow { width: 95%; left: 2.5%; right: 2.5%; max-width: none; } } .contact-box { background: #ffffff; padding: 40px 30px; border-radius: 16px; max-width: 460px; width: 100%; border: 2px solid #00ff99; box-shadow: 4px 4px 10px #bebebe, -4px -4px 10px #ffffff; margin: 30px auto; box-sizing: border-box; } .contact-box h2 { color: #00b37a; font-size: 1.7rem; font-weight: 900; margin-bottom: 25px; text-align: center; } .contact-box .form-group { margin-bottom: 20px; } .contact-box label { display: block; margin-bottom: 6px; font-weight: bold; color: #333; font-size: 1rem; } .contact-box input, .contact-box textarea { width: 100%; padding: 12px 14px; font-size: 15px; border: 1px solid #ccc; border-radius: 10px; background-color: #f9f9f9; color: #111; resize: none; box-shadow: inset 3px 3px 6px #d1d1d1, inset -3px -3px 6px #fff; box-sizing: border-box; } .contact-box input::placeholder, .contact-box textarea::placeholder { color: #888; } .contact-box button { width: 100%; background: linear-gradient(145deg, #f0f0f3, #cacccd); color: #000; font-weight: 800; font-size: 16px; padding: 14px; border-radius: 12px; border: 2px solid #00ff99; cursor: pointer; transition: all 0.3s ease; box-shadow: 3px 3px 6px #bebebe, -3px -3px 6px #ffffff; } .contact-box button:hover { background: #00ff99; color: #000; box-shadow: 0 0 12px rgba(0, 255, 153, 0.7), inset 0 0 8px rgba(0, 255, 153, 0.5); transform: scale(1.05); } @media (max-width: 600px) { .contact-box { padding: 25px 20px; margin: 20px auto; border-radius: 12px; } .contact-box h2 { font-size: 1.4rem; margin-bottom: 20px; } .contact-box label { font-size: 0.95rem; } .contact-box input, .contact-box textarea { font-size: 14px; padding: 10px 12px; border-radius: 8px; } .contact-box button { font-size: 14px; padding: 12px; border-radius: 10px; } } @media (max-width: 400px) { .contact-box { padding: 20px 15px; } .contact-box h2 { font-size: 1.2rem; } .contact-box input, .contact-box textarea { font-size: 13px; padding: 9px 10px; } .contact-box button { font-size: 13px; padding: 10px; } } /* === Popup Responsiveness Fix === */ .popup { width: auto !important; max-width: 95vw !important; max-height: 90vh !important; height: auto !important; overflow-y: auto !important; padding: 20px !important; box-sizing: border-box !important; } /* === Popup Content Box Auto Layout === */ .popup-content { width: 100% !important; max-width: 100% !important; margin: 0 auto; box-sizing: border-box; font-size: 0.95rem; } /* === Share Input Box Fix === */ #shareInput, .popup-content input[type="text"], .popup-content input[type="email"], .popup-content textarea { width: 100% !important; padding: 10px !important; margin: 10px 0 !important; border: 2px solid #000 !important; border-radius: 8px !important; font-weight: bold; resize: none !important; box-sizing: border-box; } /* === Center input if not full width === */ .popup-content input { display: block; margin: 0 auto; } /* === Make all popups mobile-friendly === */ @media (max-width: 768px) { .popup { width: 95vw !important; min-height: unset !important; padding: 15px !important; } .popup-content { font-size: 0.9rem !important; padding: 10px; } } /* === Prevent body scroll behind popup === */ body.locked { overflow: hidden !important; position: fixed !important; width: 100% !important; } .review-box small { font-size: 0.8rem; color: gray; font-weight: normal; } .corner-icon { position: absolute; width: 28px; height: 28px; cursor: pointer; opacity: 0.8; transition: transform 0.2s ease; z-index: 999; } .corner-icon:hover { transform: scale(1.2); opacity: 1; } .bottom-left { bottom: 12px; left: 12px; } .bottom-right { bottom: 12px; right: 12px; } .copy-status { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: #111; color: #0f0; font-weight: bold; padding: 6px 12px; border-radius: 6px; opacity: 0; transition: opacity 0.5s ease-in-out; z-index: 10000; } .error-message { color: red; font-size: 0.9em; margin-top: 4px; } .shake { animation: shake 0.3s; } @keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } 100% { transform: translateX(0); } } #tableHint { text-transform: uppercase; font-weight: 800; font-size: 1rem; background-color: #e6f7ff; color: #005580; padding: 10px 15px; margin: 20px auto; border-left: 5px solid #0099cc; border-radius: 4px; max-width: 95%; text-align: center; box-shadow: 2px 2px 6px rgba(0,0,0,0.08); } #tableHint i { margin-right: 8px; } #selectPrompt { text-transform: uppercase; font-weight: 900; font-size: 1.2rem; padding: 16px 24px; margin: 40px auto 35px; background: linear-gradient(145deg, #d32f2f, #b71c1c); color: #fff; border-left: 6px solid #b71c1c; border-radius: 8px; box-shadow: 3px 3px 10px rgba(0,0,0,0.25); text-align: center; max-width: 90%; letter-spacing: 1px; transition: background 0.3s ease; position: relative; } #selectPrompt .down-arrow { margin-left: 10px; font-size: 1.4rem; vertical-align: middle; animation: bounceArrow 1.5s infinite; } @keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } } @media (max-width: 768px) { #selectPrompt { font-size: 1rem; padding: 12px 20px; margin: 15px auto 20px; } main { padding: 1rem 0.5rem; } } .icon-nav-container i { font-size: 1.8rem; transition: transform 0.3s ease, color 0.3s ease; } .icon-nav-container a:hover i, .icon-nav-container button:hover i { color: #00cc66; transform: scale(1.25) rotate(-5deg); } .info-banner { font-size: 1.2rem; margin: 20px auto 10px; font-weight: bold; background-color: #ffefc1; border-left: 4px solid orange; padding: 10px 14px; border-radius: 5px; max-width: 90%; color: #000; display: inline-block; box-shadow: 2px 2px 6px rgba(0,0,0,0.1); } .team-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin-top: 40px; } .team-card { background: #f0fff9; border: 2px solid #00b37a; padding: 25px; border-radius: 12px; width: 100%; max-width: 300px; flex: 1 1 300px; box-shadow: 0 0 10px #00b37a33; text-align: center; } .team-card h2 { font-size: 1.1rem; margin-bottom: 8px; color: #00764f; font-weight: 800; text-shadow: 0 0 4px #00b37a66; } .team-card h3 { font-size: 1.5rem; margin-bottom: 14px; color: #00b37a; font-weight: 900; } .team-card p { font-size: 0.95rem; font-weight: 600; color: #333; line-height: 1.6; margin-bottom: 12px; } .team-img { width: 100px; height: 100px; object-fit: cover; object-position: center; border-radius: 50%; border: 3px solid #00b37a; margin-bottom: 15px; } .copy-result-btn, .copy-link-btn { width: 44px; height: 44px; border-radius: 50%; font-size: 18px; border: none; background: #eee; cursor: pointer; } .copy-result-btn:hover, .copy-link-btn:hover { background: #ddd; } .popup-footer button { padding: 10px; font-size: 14px; border-radius: 6px; } .icon-nav-container { display: flex; justify-content: center; /* center them horizontally */ align-items: center; flex-wrap: nowrap; /* no wrapping */ gap: 8px; /* space between buttons */ overflow-x: auto; /* allow scrolling if too small */ white-space: nowrap; } .icon-nav-container a, .icon-nav-container button { flex: 1 1 auto; /* allow shrinking and growing */ min-width: 40px; /* minimum size for buttons */ text-align: center; } /* container */ .new-box-wrapper { display: flex; justify-content: center; align-items: center; margin-top: 1.5rem; animation: fadeIn 1s ease-in-out; gap: 14px; flex-wrap: wrap; /* allow multiple boxes on narrow screens */ } /* featured card (used to be #featuredBox) */ .featured-box { position: relative; width: min(90vw, 300px); aspect-ratio: 1 / 1; border-radius: 16px; background: radial-gradient(circle at 30% 30%, #0d1117, #1c1c1c, #2e2e2e); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255,255,255,0.05); display: flex; justify-content: center; align-items: center; color: white; font-size: 2.25rem; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.3s ease; } .featured-box:hover { transform: scale(1.05) rotate(0.2deg); box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2); } /* keep same .featured-text, .ssc-line, .year-line classes as-is */ .featured-text { z-index: 2; text-align: center; line-height: 1.1; } .ssc-line { font-size: 4.25rem; font-weight: 900; letter-spacing: 2px; } .year-line { font-size: 7.25rem; font-weight: 1000; letter-spacing: 1px; margin-top: .25rem; text-shadow: 0 0 10px rgba(255,255,255,0.2); } /* mobile tweak (replace #featuredBox in your media queries with .featured-box) */ @media (max-width: 768px) { .featured-box { font-size: 1.5rem; width: 80vw; transform: scale(0.9); margin: 10px auto; } } .popup-footer { display: flex; justify-content: center; gap: 12px; margin-top: 15px; } .footer-btn { background: rgba(1, 196, 255, 0.15) !important; border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(6px); color: #000000 !important; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s ease; } .footer-btn i { font-size: 1rem; } .footer-btn:hover { transform: translateY(-2px) scale(1.05); background: rgba(255, 255, 255, 0.25) !important; box-shadow: 0 4px 10px rgba(0,0,0,0.25); } /* Style for 'Compare with Other Student' & 'Watch SSC Result' buttons */ button[onclick^="promptComparison"], button[onclick^="showSSCResultFromHSC"] { background-color: #fff9c4 !important; /* pale yellow */ color: #000 !important; /* black text */ border: 1px solid #f0e68c !important; font-weight: bold; padding: 8px 14px; border-radius: 6px; cursor: pointer; transition: background-color 0.2s ease; } /* Add emoji before text */ button[onclick^="promptComparison"]::before { content: "⚖ "; /* comparison emoji */ } button[onclick^="showSSCResultFromHSC"]::before { content: "📜 "; /* scroll/paper emoji for result */ } button[onclick^="promptComparison"]:hover, button[onclick^="showSSCResultFromHSC"]:hover { background-color: #fff59d !important; /* slightly deeper yellow on hover */ } /* ============================== HIGHLIGHT: Student Name & Board Rank Paste at the END of styles.css ============================== */ /* Feature A — Student name (first
inside popup-content) */ /* Feature B — Board rank (5th
inside popup-content) */ .popup .popup-content p.board-rank, .popup .popup-content > p:nth-of-type(5) { background-color: #e1db2b !important; /* cool light green */ color: #000 !important; /* black text */ padding: 6px 10px !important; border-radius: 8px !important; display: inline-block !important; font-weight: 800 !important; box-shadow: 0 6px 18px rgba(34,150,34,0.06) !important; margin: 6px 0 10px 0 !important; line-height: 1.2 !important; } /* small responsive tweak: make them full-width on tiny screens so they don't overflow */ @media (max-width: 420px) { .popup .popup-content p.student-name, .popup .popup-content > p:nth-of-type(1), .popup .popup-content p.board-rank, .popup .popup-content > p:nth-of-type(5) { display: block !important; width: calc(100% - 24px) !important; } } table { font-family: 'Poppins', 'Segoe UI', sans-serif; /* modern, eye-catching font */ font-weight: bold; /* make all table text bold */ color: #000; /* black text */ } table tbody tr:nth-child(odd) { background-color: #ffffff; /* very pale banana yellow, subtle */ } table tbody tr:nth-child(even) { background-color: #e0f7fa; /* very pale cyan, soft */ } @keyframes colorShift { 0% { background-color: #fffbe6; /* light banana */ } 25% { background-color: #e0f7fa; /* light cyan */ } 50% { background-color: #ffebee; /* light red */ } 75% { background-color: #fef9e7; /* pale yellow */ } 100% { background-color: #fffbe6; } } table tbody tr { animation: colorShift 10s infinite alternate; } /* Popup background */ .form-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; justify-content: center; align-items: center; z-index: 9999; } /* Popup box */ .form-container { background: #fff; padding: 20px 25px; border-radius: 12px; max-width: 400px; width: 90%; box-shadow: 0 5px 25px rgba(0,0,0,0.15); font-family: inherit; } /* Headings */ .form-container h2 { margin-bottom: 15px; font-size: 1.4rem; text-align: center; } /* Inputs */ .form-container input, .form-container select, .form-container textarea { width: 100%; padding: 10px; margin: 6px 0 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; } /* Buttons */ .btn-primary { background: #007bff; color: white; padding: 10px 15px; border: none; border-radius: 6px; cursor: pointer; } .btn-primary:hover { background: #0056b3; } .btn-secondary { background: #e0e0e0; padding: 10px 15px; border: none; border-radius: 6px; cursor: pointer; margin-left: 10px; } .popup-actions { display: flex; justify-content: flex-end; margin-top: 10px; } @keyframes popUpScale { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } } /* Success / Error animation container */ .access-status { text-align: center; padding: 30px 20px; } .access-status .circle { width: 80px; height: 80px; margin: 0 auto 20px; border: 4px solid #ddd; border-top: 4px solid #3b82f6; border-radius: 50%; animation: spin 1s linear infinite; } .access-status .tick, .access-status .cross { font-size: 3rem; opacity: 0; transform: scale(0.8); animation: popIn 0.3s forwards; } .access-status .tick { color: #16a34a; } .access-status .cross { color: #dc2626; } .access-status .status-text { font-size: 1.2rem; font-weight: 600; } @keyframes spin { to { transform: rotate(360deg); } } @keyframes popIn { to { opacity: 1; transform: scale(1); } } .btn-top-schools{padding:8px 12px;border-radius:999px;border:0;background:#111;color:#fff;font-weight:600;box-shadow:0 2px 10px rgba(0,0,0,.12)} .btn-top-schools:active{transform:translateY(1px)} .btn-mobile-filter { padding: 8px 14px; border-radius: 999px; border: 1px solid black; background: black; font-weight: 600; color: white; /* so the text is visible on black background */ } .btn-mobile-filter:active{transform:translateY(1px)} @media(min-width:769px){#mobileFilterBtn{display:none}} .mf-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:.2s;z-index:9998} .mf-overlay.open{opacity:1;pointer-events:auto} .mf-drawer{position:fixed;top:0;left:0;height:100dvh;width:82vw;max-width:420px;background:#fff;box-shadow:0 0 40px rgba(0,0,0,.2);transform:translateX(-100%);transition:.25s;z-index:9999;display:flex;flex-direction:column} .mf-drawer.open{transform:translateX(0)} .mf-head{padding:14px 16px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between} .mf-title{font-weight:700;font-size:16px} .mf-close{border:0;background:transparent;font-size:20px;line-height:1;cursor:pointer;background:#ff0000} .mf-body{padding:12px 16px;overflow:auto;gap:16px;display:flex;flex-direction:column} .mf-section{border:1px solid #eee;border-radius:12px;padding:12px} .mf-section h4{margin:0 0 8px 0;font-size:14px} .mf-range{display:flex;flex-direction:column;gap:8px} .mf-range input[type=number]{width:100%;padding:8px;border:1px solid #ddd;border-radius:8px} .mf-dual{position:relative;height:36px;display:flex;align-items:center} .mf-dual input[type=range]{position:absolute;width:100%;pointer-events:none;background:transparent;height:36px} .mf-dual input[type=range]::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:#111;border:2px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.2)} .mf-dual input[type=range]::-moz-range-thumb{pointer-events:auto;width:18px;height:18px;border-radius:50%;background:#111;border:2px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.2)} .mf-track{position:absolute;height:6px;width:100%;background:#e9e9e9;border-radius:999px} .mf-track-fill{position:absolute;height:6px;background:#111;border-radius:999px} .mf-chips{display:flex;flex-wrap:wrap;gap:8px;max-height:164px;overflow:auto} .mf-chip{display:flex;align-items:center;gap:8px} .mf-chip input{transform:scale(1.1)} .mf-search{display:flex;gap:8px;margin-bottom:8px} .mf-search input{flex:1;padding:8px;border:1px solid #ddd;border-radius:8px} .mf-list{max-height:240px;overflow:auto;display:grid;gap:8px} .mf-item{display:flex;align-items:center;gap:8px} .mf-foot{position:sticky;bottom:0;background:#fff;border-top:1px solid #eee;padding:12px 16px;display:flex;gap:8px} .mf-apply{flex:1;padding:10px;border-radius:10px;border:0;background:#111;color:#fff;font-weight:700} .mf-reset{padding:10px 14px;border-radius:10px;border:1px solid #ddd;background:#111111} .btn-pill{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:999px; border:1px solid #0f172a; background:linear-gradient(135deg,#1f2937,#111827); color:#fff; font-weight:700; box-shadow:0 2px 10px rgba(0,0,0,.15); cursor:pointer; transition:transform .1s ease,box-shadow .2s ease; } .btn-pill:hover{ transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,0,0,.2); } .btn-pill:active{ transform:translateY(0); } .btn-pill i{ font-size:18px; line-height:0; } .btn-top-schools, .btn-mobile-filter { background:linear-gradient(135deg,#1f2937,#111827); border-color:#0f172a; min-width:120px; justify-content:center; } .btn-top-schools i { color:#facc15; } .btn-mobile-filter i { color:#38bdf8; } #mobileFilterBtn{ display:inline-flex !important; } .student-name h3, .student-school h4 { all: unset; /* remove ALL default browser heading styles */ display: inline; /* keep text inline */ }