/*  Registration page CSS */


body{
background: linear-gradient(135deg,#4facfe,#00f2fe);
height:100vh;
display:flex;
justify-content:center;
align-items:center;
font-family:Arial;
}

.card{
border:none;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.form-control{
border-radius:10px;
padding:12px;
}

.btn-primary{
border-radius:10px;
padding:12px;
font-weight:bold;
}

.btn-primary:hover{
background:#0056b3;
}

.title{
font-weight:bold;
color:#333;
}



/* login CSS */

body{
background: linear-gradient(135deg,#667eea,#764ba2);
height:100vh;
display:flex;
justify-content:center;
align-items:center;
font-family:Arial;
}

.card{
border:none;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.form-control{
border-radius:10px;
padding:12px;
}

.btn-success{
border-radius:10px;
padding:12px;
font-weight:bold;
}

.btn-success:hover{
background:#198754;
}

.title{
font-weight:bold;
color:#333;
}


/*  Guideline CSS */
/* Body styling */
body {
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
  height: 100vh;
  display: flex; /* needed for centering */
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Card styling */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* prevent overflow on small screens */
  width: 100%;
  padding: 1.5rem;
  box-sizing: border-box;
}

/* Title styling */
.title {
  font-weight: bold;
  font-size: 1.5rem;
}

/* List items styling */
ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Make list items smaller on very small screens */
@media (max-width: 576px) {
  .title {
    font-size: 1.3rem;
  }
  ul li {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .card {
    padding: 1rem;
  }
  .btn-primary {
    padding: 10px;
    font-size: 14px;
  }
}

/* Button styling */
.btn-primary {
  border-radius: 10px;
  padding: 12px;
  font-weight: bold;
  font-size: 16px;
}

/* Optional: responsive icon sizing */
ul li i {
  margin-right: 8px;
}

/* Extra small devices adjustments */
@media (max-width: 400px) {
  .title {
    font-size: 1.2rem;
  }
  ul li {
    font-size: 13px;
  }
  .btn-primary {
    font-size: 13px;
    padding: 8px;
  }
}

/* Quiz Question Page CSS */

/* Page Background */

body{
background: linear-gradient(135deg,#5f9cff,#8f94fb);
min-height:100vh;
/* padding:20px; */
font-family:Arial, sans-serif;
}


/* Quiz Card */

.quiz-card{
background:#fff;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
padding:40px;
}


/* Question */

#question{
font-size:22px;
font-weight:600;
margin-bottom:15px;
}


/* Timer */

.timer{
font-weight:bold;
color:#dc3545;
font-size:18px;
}


/* Options */

#options label{
display:block;
padding:12px;
border:1px solid #ddd;
border-radius:8px;
margin-bottom:10px;
cursor:pointer;
transition:0.3s;
}

#options label:hover{
background:#f2f5ff;
border-color:#5f9cff;
}


/* Buttons */

.quiz-buttons button{
width:100%;
}


/* Tablet */

@media (max-width:992px){

.quiz-card{
padding:30px;
}

#question{
font-size:20px;
}

}


/* Mobile */

@media (max-width:768px){

.quiz-card{
padding:20px;
}

.quiz-buttons{
flex-direction:column;
}

.quiz-buttons button{
width:100%;
}

#question{
font-size:18px;
}

}


/* Small Mobile */

@media (max-width:480px){

.quiz-card{
padding:15px;
border-radius:10px;
}

#question{
font-size:16px;
}

.timer{
font-size:16px;
}

}