@font-face {
    font-family: 'Poppins';
    src: url('../fonts/static/Rubik-Regular.ttf') format('truetype'),
         url('../fonts/static/Rubik-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'outfit';
    src: url('../fonts/outfit/Outfit-Regular.ttf') format('truetype'),
         url('../fonts/outfit/Outfit-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*::selection {
    color: #ffffff; /* white text */
    background-color: #4a90e2; /* calm blue selection background */
}

body {
    font-family: 'outfit', sans-serif !important;
}

.top-header{
    background-color: #f7ede2;
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 960px) {
    .top-header {
        margin-top: 60px; 
        padding: 5px; 
    }
}

.tagimage{  
    display: flex;
    align-items: center;
    justify-content: center;
}


.styled-select {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: linear-gradient(to right, #f7f7f7, #ffffff);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    position: relative;
}


.styled-select::after {
    content: '\25BC'; 
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}


.styled-select:focus {
    border-color: #000;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    outline: none;
}


.styled-select:hover {
    background: linear-gradient(to right, #ffffff, #f7f7f7);
}


.styled-select option {
    transition: all 0.2s ease;
}


.styled-select option:hover {
    background-color: #007bff;
    color: #ffffff;
}



input.form_input_1, 
select.styled-select, 
textarea.form_textarea_1 {
    border: 1px solid black; 
    border-radius: 8px; 
    padding: 10px; 
    width: 100%; 
    box-sizing: border-box; 
    outline: none; 
    transition: border 0.3s ease, box-shadow 0.3s ease; 
    font-size: 16px;    
}


input.form_input_1:focus, 
select.styled-select:focus, 
textarea.form_textarea_1:focus {
    border: 2px solid black; 
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); 
}


input.form_input_1:hover, 
select.styled-select:hover, 
textarea.form_textarea_1:hover {
    border: 1px solid black; 
}


input[type="file"] {
    border: 1px solid black; 
    border-radius: 8px; 
    padding: 8px; 
    cursor: pointer; 
    outline: none; 
    transition: border 0.3s ease, box-shadow 0.3s ease; 
}


input[type="file"]:focus, 
input[type="file"]:hover {
    border: 2px solid black; 
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); 
}


button.main-btn {
    border: none; 
    border-radius: 8px; 
    padding: 10px 20px; 
    cursor: pointer;
    border: 1px solid black; 
    
}

button.main-btn:focus {
    outline: none; 
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); 
}

    form .label25 {
        font-size: 18px;
    }


    .custom-file {
        position: relative;
        display: inline-block;
        width: 100%;
        height: 40px; 
    }
    
    .custom-file-input {
        position: absolute;
        z-index: 2;
        opacity: 0; 
        width: 100%;
        height: 100%;
        cursor: pointer;
    }
    
    .custom-file-label {
        display: inline-block;
        width: 50%;
        height: 100%;
        background-color: #fff; 
        border:1px solid black;
        color: black; 
        text-align: center;
        line-height: 40px; 
        border-radius: 5px; 
        cursor: pointer;
    }
    
    .custom-file-input:focus + .custom-file-label {
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
    }   

    .ppuser-card{
        border :2px solid black;
        background-color: #f0f0f0;
    }


.card-link {
    color: inherit;
    text-decoration: none;
}

.card-link:hover,
.card-link:focus {
    color: inherit;
    text-decoration: none;
}


.profile_image{
    margin: 0 20px;
    border:2px solid black;
    border-radius: 50%;
    height:  20%; 
    width: 20%
}



.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.details-table td {
    padding: 8px;
    vertical-align: top;
    border: none;
}


.details-table tr:hover {
    background-color: #f1f1f1;
}

.details-table td strong {
    color: #333;
}

.student-info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border: 2px solid #660708;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mn-icons-set{
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-self: center;
    

}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.info-label {
    font-size: 14px;
    color: #555;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.details-table td {
    padding: 10px;
    vertical-align: middle;
    font-size: 14px;
    color: #555;
}

.aadhar-card-image {
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

.aadhar-card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.headtte14m {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e2e2e2;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #ddd;
}

.headtte14m a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.count-dt {
    color: #000;
    font-size: 18px;
}

.download-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #000;
}

.download-btn, .preview-btn {
    display: inline-block;
    margin: 10px 5px 0 0;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-btn {
    background-color: #000;
    color: #fff;
}

.download-btn:hover {
    background-color: #1e1f20;
}

.preview-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.preview-btn:hover {
    background-color: #000;
}

.act-btn{
    background-color: black;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
    &:hover{
        background-color: #fff;
        color: black;
    }
}

.text-center span, a{
    color: #000;
}

.btn-red {
    background-color: red;
    color: white;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: auto;
    }
    
    .form_group {
        width: 100%;
    }
}

input.form-control:focus {
    outline: none !important; 
    border: 2px solid #5c8001 !important; 
    box-shadow: none !important; 
}

select.form-control:focus {
    outline: none !important; 
    border: 2px solid black !important; 
    box-shadow: none !important; 
}

.primary-btn{
    color:white;
    background-color: #31572c;
    border: 2px solid #31572c;
    border-radius: 12px !important;
    cursor: pointer !important;
    &:hover{
        border-radius: 12px !important;
        color: #000;
        border: 2px solid #31572c;
        background-color: white;
    }
}

.secondory-btn{
    color:#000;
    background-color: white;
    border: 1px solid black;
    border-radius: 12px !important;
    cursor: pointer !important;
    
    &:hover{
        border: 1px solid gray;
        border-radius: 12px !important;
        color: #000;
        background-color: #fff;
        opacity: 0.8;
    }
}
/* 
table {
    font-size: 18px;
    width: 100%;
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid black !important;
    border-radius: 8px;
    overflow: hidden;
}

th {
    font-size: 20px;
    background-color: black !important;
    color: white !important;
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid rgb(0, 0, 0);
}

td {
    padding: 12px;
    border-bottom: 2px solid black !important;
    background-color: white;
    color: black;
    text-align: center;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f2f2f2;
} */

@media (max-width: 768px) {
    table {
        font-size: 20px;
    }

    th, td {
        padding: 10px;
    }
}

.no-student-msg {
    font-size: 24px;
    color: #2c0e0e;
    margin: 40px 10px;
}

.modal-content{
    border : 2px solid black;
    padding: 20px;
    border-radius: 20px;
}

.shine-overlay {
  position: relative;
  overflow: hidden;
}

.shine-overlay:hover .shine {
  display: block;
}

.shine {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  background: -webkit-gradient(linear,left top,right top,from(rgba(255,255,255,0)),color-stop(50%,rgba(255,255,255,.8)),to(rgba(255,255,255,0)));
  background: linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.8) 50%,rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transform: skew(30deg);
  animation: shine 0.75s linear 1;
}

@keyframes shine {
  0% {
    left: -50%;
    opacity: 0;
  }
  50% {
    left: 25%;
    opacity: .5;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}


.profile-btn {
    display: inline-flex;
    align-items: center;
    background-color: #ddb892;
    color: #660708;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
    border: none;
}

.profile-btn:hover {
    background-color: #f7ede2;
}


.attendance-day {
    margin-bottom: 20px;
}

.attendance-date {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #660708; 
    border-bottom: 2px solid #ddb892; 
    display: inline-block;
    padding-bottom: 4px;
}

.attendance-type {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #660708;
}





.theme {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
    height: 100vh; 
  }
  
  .theme img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    object-position: center center; 
  }
  
  
  @media (max-width: 768px) {
    .theme {
      padding-top: 0; 
      padding-bottom: 0; 
    }
  }
  

.slider{
    width: 1300px;
    max-width: 100vw;
    height: 700px;
    margin: auto;
    position: relative;
    overflow: hidden;
}
.list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: 1s;
}
.list img{
    width: 1300px;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
}
.buttons{
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}
.buttons button {
    width: 50px;
    height: 50px;
    border-radius: 505;
    background-color: #ddb892;
    color: #660708;
    border: none;
    font-family: monospace;
    font-weight: bold;
    font-size: 30px;
}
.dots{
    position: absolute;
    bottom: 10px;
    color: #fff;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    transition: 1s;
}
.dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 20px;
    border-radius: 20px;
}
.dots li.active {
    width: 30px;
}
@media screen and ( max-width: 768px) { 
    .slider {
        height: 400px;
    }
}

.button-group {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.large-text{
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .subject-btn {
        flex: 1 1 100%; 
        font-size: 16px;
    }

    .subject-select-container {
        padding: 30px;
        width: 100%;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .subject-btn {
        font-size: 14px; 
        padding: 10px 20px;
    }
    .large-text{
        font-size: 20px;
        font-weight: 500;
    }
}

.hover-btn:hover{
    transform: scale(1.02); 
}

/* General styling for the dropdown */
.custom-dropdown {
    background-color: #332f2f; 
    color: #fff; 
    border: 2px solid #fff; 
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}


.custom-dropdown option {
    background-color: #2e2b2b; 
    color: #fff; 
    border: none; 
    padding: 10px;
}


.custom-dropdown:hover {
    color: #fff;
    background-color: #000; 
    border-color: #ccc; 
}


.custom-dropdown option:checked {
    background-color: #000; 
}


.custom-dropdown:focus {
    border-color: #000; 
    outline: none; 
}

/* Increase pagination button size */
.pagination .page-link {
    color: white !important;
    background-color: black !important;
    border: 1px solid white !important;
    padding: 12px 18px !important; 
    font-size: 1.2rem !important; 
    min-width: 50px !important; 
    text-align: center;
}
.pagination .page-link:hover {
    background-color: white !important;
    color: black !important;
    border-color: black !important;
}
.pagination .active .page-link {
    background-color: white !important;
    color: black !important;
    border-color: black !important;
    font-weight: bold;
}
.pagination .disabled .page-link {
    background-color: #555 !important;
    color: #aaa !important;
    cursor: not-allowed !important;
}

@media (max-width: 768px) {
    .pagination .page-link {
        padding: 10px 15px !important;
        font-size: 1rem !important;
        min-width: 40px !important;
    }
}
@media (max-width: 480px) {
    .pagination .page-link {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
        min-width: 35px !important;
    }
}



.full-screen {
    position: relative;
    width: 100%;
    max-width: 100%;
}
iframe {
    width: 100%;
    height: 500px;
    border: none;
}
.icon-fullscreen {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 20px;
}




.filter-btn {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    background: #fff;
    border: 1px solid #000;
    border-radius: 6px;
    transition: all 0.1 s ease-in-out;
    position: relative;
}

.filter-btn:hover {
    background: #000;
    color: #fff;
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

/* Add an active icon before the text properly */
.filter-btn.active::before {
    content: "✔ ";
    position: relative;
    left: 0px;  
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px; 
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .filter-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

.no-student-msg {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    max-width: 300px;
    text-align: center; /* Ensures text is centered */
    display: block; /* Ensures it behaves correctly within flex/grid */
    margin-left: auto;
    margin-right: auto;
}

.no-student-img {
    max-width: 50%; /* Ensure it scales within its container */
    height: auto; /* Maintain aspect ratio */
}

/* Responsive for tablets and smaller screens */
@media (max-width: 1024px) {
    .no-student-img {
        max-width: 200px;
    }
}

/* Responsive for mobile screens */
@media (max-width: 768px) {
    .no-student-img {
        max-width: 180px;
    }
}

/* Responsive for smaller mobile screens */
@media (max-width: 480px) {
    .no-student-img {
        max-width: 180px;
    }
}



/* ---------------------------------------------------------- award section ----------------------------------------------------------  */


/* Ensure styles are applied only within the student profile awards section */
.event-card.rrmt-30 .student-info-card .awards-container {
    max-width: 100%;
    overflow-x: auto; 
    padding: 10px 0;
    display: flex;
    align-items: center;
}

/* Ensure each award card has a fixed size and appearance */
.event-card.rrmt-30 .student-info-card .awards-container .award-card {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    position: relative;

}

.event-card.rrmt-30 .student-info-card .awards-container .award-card:hover {
    filter: invert(0.3);
}

.event-card.rrmt-30 .student-info-card .awards-container .award-card .award-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .event-card.rrmt-30 .student-info-card .awards-container .award-card .award-icon {
        width: 30px;
        height: 30px;
    }
}

/* More awards button (redirect to awards page) */
.event-card.rrmt-30 .student-info-card .awards-container .award-card.more-awards i {
    color: black;
    font-size: 24px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .event-card.rrmt-30 .student-info-card .awards-container .award-card {
        width: 50px;
        height: 50px;
    }
    .event-card.rrmt-30 .student-info-card .awards-container .award-card .award-icon {
        width: 30px;
        height: 30px;
    }
}


/* --------------------------------------   Back Button ------------------------------------------ */
body .custom-button-container {
    position: absolute !important;
    top: 5rem !important;
    left: 5rem !important;
}

/* Hide the button on screens smaller than 768px (typical mobile screens) */
@media screen and (max-width: 767px) {
    body .custom-button-container {
        display: none !important;
    }
}

body .custom-button {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    background-color: #660708 !important;
    color: white !important;
    border-radius: 0.375rem !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.2s ease-in-out !important;
    border: none !important;
    cursor: pointer !important;
}

body .custom-button:hover {
    background-color: #1f2937 !important; /* gray-800 */
}

body .custom-button svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
}

.badge {
    background-color: #31572c; 
    color: #fff;
    letter-spacing: 0.2em;
    border-radius: 12px;
    padding: 0.50rem 1rem;
    text-transform: capitalize;
    
}

.card-text{
    color: #000;
}

.breadcrumb{
    font-size: 1.8rem;
}

@media (max-width: 425px) {
    .phone-view{
        padding-top: 50px;
    }   
    .breadcrumb{
        font-size: 1.3rem;
    }
}

.bi-chevron-right{
    size: 0.4rem;
}
