/* =========== Google Fonts ============ */
@import
url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");
*/
/* =============== Globals ============== */
* {
font-family: "Ubuntu", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.card{
  margin-top: 70px;
  background-color: ghostwhite;
  height:100vh;
}
/* Sidebar */
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
padding: 58px 0 0; /* Height of navbar */
box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
width: 240px;
z-index: 600;
}
.sidebar .active {
border-radius: 5px;
box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
.sidebar-sticky {
position: relative;
top: 0;
height: calc(100vh - 48px);
padding-top: 0.5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
p{
color: grey;
}
#heading{
text-transform: uppercase;
color: #673AB7;
font-weight: normal;
}
#user-data{
position: relative;
margin-top: 20px;
}
:root {
--blue: #2a2185;
--white: #fff;
--gray: #f5f5f5;
--black1: #222;
--black2: #999;
}
body {
min-height: 100vh;
overflow-x: hidden;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f3f3f3;
}
.login-card{
position: absolute;
width: 50%;
height: 50%;
top:25%;
left:50%;
transform: translate(-50%);
}
/* ====================== multi step form and table ==========================
*/
#std-table tbody tr td img{
width:50px;
height:50px;
}
.msg{
width:35%;
height:40px;
position:absolute;
top:0;
right:0;
border-radius: 5px;
visibility: hidden;
border-bottom: 1px solid red;
}
.msg p{
margin:10px;
vertical-align: middle;
color:white;
font-weight:bold;
}
.datepicker {
z-index: 1055 !important;
}
.input-group .form-control {
border-right: none;
}
.input-group .btn {
border-left: none;
}
.input-group .btn i {
font-size: 1.2rem;
}
.step {
display: none;
}
.step.active {
display: block;
}
.form-step-buttons {
display: flex;
justify-content: space-between;
}
.error-message {
position: absolute;
top: 100%;
left: 0;
font-size: 0.875rem;
color: #dc3545;
}
.input-container {
position: relative;
}
/* Step Navigation */
.step-nav {
display: flex;
justify-content: space-between;
margin-bottom: 1.5rem;
}
.step-nav-item {
text-align: center;
cursor: pointer;
flex: 1;
}
.step-nav-item i {
font-size: 2.5rem;
display: block;
margin-bottom: 0.5rem;
}
.step-nav-item.active i {
color: #007bff; /* Blue for active step */
}
.step-nav-item.completed i {
color: #28a745; /* Green for completed step */
}
.step-nav-item h6 {
font-size: 1rem;
margin: 0;
color:#673AB7;
}

#marksChart {
background-color:silver;
width:auto;
/* Dark gray background */
border-radius: 8px;
/* Optional: Add rounded corners */
padding: 10px;
height:600px;
/* Optional: Add padding for spacing */
}
.dashboard {
padding: 20px;
}
.cards {
display: flex;
justify-content: space-between;
margin-bottom: 30px;
gap: 5px;
}
.cards .card {
background:aliceblue;
padding: 20px;
text-align: center;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width: 30%;
}
.cards .card h3 {
margin-bottom: 10px;
color: #fff;
}
.cards .card p {
font-size: 2em;
margin: 0;
color: #979b9f;
}
.chart-container {
background: #fffcfc;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width:auto;
}
@media (max-width: 991.98px) {
.sidebar {
width:auto;
}
}
@media (min-width: 991.98px) {
main {
padding-left: 240px;
}
}

@media (max-width:991.98px){
  .cards {
    flex-direction: column;
    margin-bottom:2px;
    }
}