* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}
b, strong {
    font-weight: 700;
}

body {
    background: #f9f9f9;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
}

.form-container {
    background: #fff;
    margin: 10px auto;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-top: 10px;
}

.form-group label {
    font-weight: 600;
    font-size: 16px;
}

select,
input[type="text"],
input[type="date"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 43px;
    font-size: 16px;
}

.form-control {
    font-size: 16px;
    webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

.btn {
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
}

.btn-submit {
    background: #173456;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.btn-submit:hover {
    background: #0056b3;
    color: #fff;
}

.btn-exit {
    background: #6c757d;
    color: #fff;
    font-size: 16px;
}

.btn-exit:hover {
    background: #565e64;
    color: #fff;
}

.header {
    box-shadow: 0px 10px 20px 0px rgba(62, 48, 48, 0.42);
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 999;
}

.college_name {
    color: #173456;
    font-size: 25px;
    letter-spacing: 4px;
    border-width: 1px 0;
    line-height: 1.5;
    text-transform: uppercase;
    text-shadow: 3px 3px 2px #ddd;
    font-weight: 800;
}

.attend-txt {
    font-size: 25px;
    color: #fff;
    margin-bottom: 30px;
    background: #173456;
    padding: 5px 0;
    border-radius: 10px 0;
}

.btn-area {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.header_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #173456, #084298);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(8, 66, 152, 0.4);
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 10px;
}

.logout-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(8, 66, 152, 0.6);
}

.logout-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 10px rgba(8, 66, 152, 0.3);
}

.spacer-top {
    margin-top: 100px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #17345642;
    color: #173456;
    padding: 10px 0;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
}

/*.marquee-text {*/
/*    display: inline-block;*/
/*    white-space: nowrap;*/
/*    animation: marquee 5s linear infinite alternate;*/
    /* alternate makes it go back and forth */
/*}*/

/*@keyframes marquee {*/
/*    0% {*/
/*        transform: translateX(-50%);*/
/*    }*/

/*    100% {*/
/*        transform: translateX(150%);*/
/*    }*/
/*}*/

div.dataTables_wrapper div.dataTables_length select {
    font-size: 16px;
    border-color: #173456;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #173456;
    border-color: #173456;
}

/* .table>:not(:last-child)>:last-child>* {
    border-bottom-color: rgb(255 255 255);
} */
.myTable tr,
td,
th {
    border-color: #173456;
}

div.dataTables_wrapper div.dataTables_filter input {
    border-color: #173456;
}

.breadcrumb {
    font: .75em sans-serif;
    list-style: none;
}

.breadcrumb.bc2x {
    font-size: 1em;
}

.breadcrumb.bc3x {
    font-size: 1.25em;
}

.breadcrumb p {
    margin: 0;
}

.breadcrumb li {
    display: inline-block;
    margin-bottom: .2em;
}

.breadcrumb li a {
    background-color: #173456;
    box-sizing: border-box;
    color: #fff;
    display: block;
    max-height: 2em;
    padding: .5em 1em .5em 1.5em;
    position: relative;
    text-decoration: none;
    transition: .25s;
    font-size: 14px;
}

.breadcrumb li a:before {
    border-top: 1em solid transparent;
    border-bottom: 1em solid transparent;
    border-left: 1em solid #fff;
    content: "";
    position: absolute;
    top: 0;
    right: -1.1em;
    z-index: 1;
}

.breadcrumb li a:after {
    border-top: 1em solid transparent;
    border-bottom: 1em solid transparent;
    border-left: 1em solid #173456;
    content: "";
    position: absolute;
    top: 0;
    right: -1em;
    transition: .25s;
    z-index: 1;
}

.breadcrumb li a:hover {
    background-color: #e23131;
}

.breadcrumb li a:hover:after {
    border-left-color: #e23131;
}

.breadcrumb li a.active {
    background-color: #e23131;
    pointer-events: none;
}

.breadcrumb li a.active:after {
    border-left-color: #e23131;
}
.main_wrapper_tpx{
    min-height: 100vh;
}
.footer_dash{
    padding: 10px 0;
    text-align: center;
    background: #0d294b;
    color: #fff;
    width: 100%;
}
.footer_dash p a{
    color: #fff;
    font-weight: 600;
}
.footer_dash p a:hover{
    color: #e23131;
}

body{
    position: relative;
}

.present-btn {
    background: #04693a;
    color: #fff;
    font-size: 16px;
    text-align: center !important;
    width: 20% !important;
    padding:0 !important;
}

.present-btn:hover {
    background: #09b665;
    color: #fff;
}

.absent-btn {
    background: #690404;
    color: #fff;
    font-size: 16px;
    text-align: center !important;
    width: 20% !important;
     padding:0 !important;
}

.absent-btn:hover {
    background: #9e0606;
    color: #fff;
}
.attendance-status {
    text-align: center;
    width: 20%;
    height: 27px !important;
}


@media screen and (max-width:991px) {
    .header_main .left {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .attend-txt {
        font-size: 20px!important;
        color: #fff;
        margin-bottom: 30px;
        background: #173456;
        padding: 5px 0;
        border-radius: 10px 0;
    }
    .header_main .left img {
        width: 45px;
        height: 45px;
    }
    .btn-submit{
        margin-top: 10px;
    }
    .college_name {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .logout-btn {
        padding: 5px 10px;
        font-size: 14px;
    }

    .spacer-top {
        margin-top: 80px;
    }

}

.entry_details{
    margin: 20px 0;
}
.entry_details h3{
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.print-header {
    text-align: center; margin-bottom: 20px;
}
.print-header h2, .h2 {
    font-size: 30px;
        margin-top: 20px;
    margin-bottom: 10px;
    font-family: inherit !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: inherit !important;
}
.print-header h3, .h3 {
    font-size: 24px;
        margin-top: 20px;
    margin-bottom: 10px;
    font-family: inherit !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: inherit !important;
}

.dt-buttons {
    text-align: center;
    margin-top: 25px;
}
.dt-button { 
    margin: 0 5px;
}
.yellow {
    background-color: #ffeb99 !important; /* custom yellow */
    color: #000;
}


/* new 12-11-2025 */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
    margin-bottom: 30px; /* Adds breathing space above footer */
    border-radius: 8px;
    background: #fff;
}

.table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

.table th, 
.table td {
    text-align: center;
    vertical-align: middle;
    border-color: #d1b764;
}

@media screen and (max-width: 768px) {
    table.table {
        font-size: 13px;
        white-space: nowrap;
    }

    .table th, .table td {
        padding: 6px 4px;
    }

    .btn-sm {
        padding: 4px 6px;
        font-size: 12px;
    }

    .fa-search {
        font-size: 14px;
    }
 
    .table thead th {
        position: sticky;
        top: 0;
        /* background: #f8f9fa; */
        z-index: 2;
    }
}

/* Make footer not overlap */
footer, .footer {
    margin-top: 40px !important;
}

@media screen and (max-width:991px){
    .print-header h2, .h2{
        font-size: 16px;
        margin-top: 10px;
    }
    .print-header h3, .h3{
        font-size: 17px;
        margin-top: 10px;
    }
    table{
        font-size: 11px;
    }
    .form-container{
        padding: 10px;
    }
    .marquee-container{
        font-size: 14px;
    }
}

