body{

font-family:Arial;
background:#f5f5f5;
padding:40px;

}


h2{

color:#333;

}


table{

width:100%;
background:white;
border-collapse:collapse;

}


th{

background:#0056b3;
color:white;

}


td,th{

padding:12px;
border:1px solid #ddd;

}


a{

background:#28a745;
color:white;
padding:6px 12px;
text-decoration:none;
border-radius:4px;

}


/* Table wrapper */
.table-responsive {

    width:100%;
    overflow-x:auto;

}


/* Responsive mobile table */

@media(max-width:600px){

    body {
        padding:10px;
    }


    h2 {
        font-size:22px;
        text-align:center;
    }


    .table-responsive {
        overflow:visible;
    }


    table {
        border:0;
        background:transparent;
    }


    table thead {
        display:none;
    }


    table tr {
        display:block;
        background:white;
        margin-bottom:15px;
        border-radius:8px;
        padding:10px;
        box-shadow:0 2px 8px rgba(0,0,0,0.1);
    }


    table td {
        display:flex;
        justify-content:space-between;
        align-items:center;
        border:0;
        border-bottom:1px solid #eee;
        padding:10px 5px;
        white-space:normal;
        font-size:14px;
    }


    table td:last-child {
        border-bottom:0;
    }


    table td::before {

        content:attr(data-label);
        font-weight:bold;
        color:#555;
        margin-right:10px;

    }


    a {

        padding:8px 15px;
        border-radius:20px;
        font-size:13px;

    }

}
@media(max-width:600px){

    .form-table tr {
        display:block;
        margin-bottom:12px;
    }


    .form-table td {

        display:block;
        width:100%;
        border:0;
        padding:5px;

    }


    .form-table td:first-child {

        font-weight:bold;
        padding-bottom:3px;

    }


    .form-table input,
    .form-table select {

        width:95% !important;
        max-width:350px;
        padding:8px;
        border:1px solid #ccc;
        border-radius:5px;

    }


}
.validity-box{

    display:flex;
    gap:10px;
    align-items:center;

}


.validity-box input{

    width:80px !important;

}


@media(max-width:600px){

    .validity-box{

        width:100%;

    }


    .validity-box select{

        width:65%;

    }


    .validity-box input{

        width:30% !important;

    }

}

/* Login Page */

.login-box{

    width:350px;
    margin:80px auto;
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,0.15);
    text-align:center;

}


.login-box h2{

    margin-bottom:25px;

}


.login-box input{

    width:80%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:15px;

}


.login-box button{

    width:90%;
    padding:12px;
    background:#0056b3;
    color:white;
    border:0;
    border-radius:5px;
    font-size:16px;
    cursor:pointer;

}


.login-box button:hover{

    background:#003d80;

}


.login-error{

    color:red;
    margin-top:15px;

}



@media(max-width:600px){

    .login-box{

        width:90%;
        margin:50px auto;
        padding:20px;

    }


}