
@import url('https://googleapis.com');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {

    /* Brand */
    --color-primary: #003e8f;
    --color-primary-hover: #e5020c;

    --color-accent: #fad762;

    --color-secondary: #052753;
    --color-secondary-hover: #073568;

    --color-white: #ffffff;

    /* Text */
    --color-text: #121212;
    --color-text-muted: #aaaaaa;

    /* UI */
    --color-border: #e8ebef;
    --color-surface: #f7f8fa;

    /* Effects */
    --shadow-header:
        0 4px 20px rgba(5, 39, 83, 0.07);

    --shadow-mobile:
        0 15px 30px rgba(5, 39, 83, 0.12);

    /* Motion */
    --transition:
        180ms ease;

    --transition-slow:
        280ms ease;

}

*{
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
    text-decoration: none;
}

body {
font-family: Montserrat, sans-serif;
}


.mainscreen {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
     background-image: linear-gradient(rgba(0, 4, 44, 0.8)), url('../images/bgimage1.jpg');
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    
}

.containerlog {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    width: 450px;
    color: #121212;
}

.loghead{
    text-align: center;
}
.loghead{
    font-size: 13px;
}

.loghead a {
    color:#121212
}

.loghead a:hover {
    color:var(--color-primary)
}

.containerlog p {
    font-size: 16px;
}

.containerlog h2 {
    font-size: 20px;
    font-weight: 800;
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.formgroup {
    margin: 10px 0px;
    display: block;
}

label {
    margin: 10px 0px;
    font-weight: 600;
    font-size: 15px;
}

input{
    margin: 5px 0px;
    width: 100%;
    padding: 10px;
    font-weight: 300;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    color: #707070;
    border-radius: 5px;
}

textarea {
    margin: 5px 0px;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 300;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    color: #707070;
    border-radius: 5px;
}

.action{
    justify-content: center;
    align-items: center;
    text-align: center;
}


input:focus{
    width: 100%;
    padding: 10px;
    font-weight: 300;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    color: #707070;
    border-radius: 5px;
    }

.button {
    padding: 10px 40px 10px 40px;
    background-color: var(--color-primary);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5;
    border: none;
    color:white;
    border-radius: 5px;
    cursor: pointer;
    }
    
.button:hover {
    background-color: var(--color-primary-hover);
    color: #ffffff;
    }

.showpass {
    display: flex;
    margin-top: 8px;
    justify-content: left;

}



.error-message{
    background:#ffe6e6;
    color:#d8000c;
    border:1px solid #d8000c;
    padding:10px;
    margin:10px 0;
    border-radius:5px;
    font-size:14px;
}

.showpass label{
    font-weight: 400;
    color: var(--color-primary);
    margin-left: 10px;
    font-size: 13px;
    

}

.showpass input{
    margin: 0;
    padding: 0;
    width: auto;
    border-radius: 0;
    

}

select.form-control {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
}

.Cdetails{
    display: flex;
    text-align: left;
    
}

.Cdetails p{
    font-size: 12px;
}

.vari{
    margin: 5px;
    padding: 5px;
    color: var(--color-white);
    background-color: var(--color-text-muted);
    width: 40%;
    border: solid 1px var(--color-text-muted);
    border-radius: 5px;
}

.val{
    margin: 5px;
    padding: 7px;
    color: var(--color-text);
    background-color: var(--color-white);
    width: 60%;
    border: solid 1px var(--color-text-muted);
    border-radius: 5px;

}

.containerlog hr {
    background-color: var(--color-accent); 
    height: 1px;  
    border: none;
    margin: 10px;
}
.maindash{
    display: flex;
    width: 100%;
    background-color: #dcdcdc;
}

.main {
    margin-left: 240px;
    display: block;
}



.containerdash{
    padding: 30px;
    display: block;
    min-height: 85vh;
}



.containerdash h1 {
    margin: 20px;
    margin-left: 0px;
    display: block;
    font-size: 26px;
    color: #121212;
    font-weight: 600;

}

.search-box {
     margin-bottom: 30px;
    }

.search-box input[type="text"] { 
    width: 300px; 
}

.search-box button {
    padding: 10px 15px; 
    cursor: pointer; 
    color: white; 
    border: none; 
}

.cont {
    display: flex;
    justify-content: space-between;
    padding: 0px;
    align-items: center;
    margin: 10px 0px;
    
}

.cont h1 {
    font-size: 26px;
    color: #121212;
    font-weight: 600;

}

.button2 {
    padding: 10px 20px 10px 20px;
    background-color: var(--color-primary);
    height: fit-content;
    width: fit-content;
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 500; 
    border: none;
    color:white;
    border-radius: 5px;
    cursor: pointer;
    }
    
.button2:hover {
    background-color: var(--color-primary-hover);
    color: #ffffff;
    }

    
    
.rec {
        display: flex;
        flex-direction: column;
        margin: 10px 0px 30px 0px;
        gap: 25px;
        justify-content: left;
        flex-wrap: wrap;
        
    }

.recap {
        display: flex;
        margin: 10px 0px 30px 0px;
        justify-content: space-between;
        flex-wrap: wrap;
        
    }
    
.rec a {
        width: 23%;
    }

.cat {
        width: 23%;
    }

.summary {
        width: 32%;
        text-align: left;
        padding: 20px;
        border: 1px solid #e9e9e9;
        border-radius: 10px;
    }
    
.summary:hover {
    box-shadow: 0 0px 15px #e9e9e9;
}

.summary h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary-hover);
}

.summary h1:hover {
    color: var(--color-primary);
}

.summary h4 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #121212;
    text-align: center;
}

.summary h4 i {
    color: var(--color-primary);

}
    
.card {
        width: 100%;
        text-align: left;
        min-height: 320px;
        border: 1px solid #e9e9e9;
        border-radius: 10px;
    }
    
.card:hover {
    box-shadow: 0 0px 15px #e9e9e9;
}

.card h3 {
    margin: 5px 20px 5px 20px;
    font-size: 16px;
    color: var(--color-primary-hover);
}

.card h3:hover {
    color: var(--color-primary);
}

.card p {
    font-size: 12px;
    margin: 0px 20px;
    color: #9e9e9e;
}

.card i {
    margin-right: 10px;
    color: #9e9e9e;
    font-size: 10px;
}


.empty {
    width: 100%;
    padding: 50px;
    text-align: center;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
}

.cta {
    min-width: 200px;
}

.empty h4 {
    margin: 5px 20px 0px 20px;
    font-size: 20px;
    color: var(--color-primary-hover);
}


.empty p {
    font-size: 16px;
    margin: 0px 20px;
    color: #9e9e9e;
}

.empty i {
    color: #c5c5c5;
    font-size: 42px;
}

.image {
    width: 100%;
    height: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0px 0px;
    margin-bottom: 15px;
}

.image p {
    border-radius: 10px 0px 0px 0px;
    width: fit-content;
    margin: 0px;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 7px 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.details {
    display: flex;
    justify-content: left;
    gap: 20px;
}

.details h1 {
    font-size: 20px;
    margin: 10px 0px;

}

.details .img {
        height: 160px;
        width: 160px;
        border-radius: 10px;
        background-size: cover;
}

.book {
    margin: 10px 0px;
}

.book h1 {
    font-size: 20px;
    margin: 10px 0px;
}

.book p {
    color: #9e9e9e;
    margin: 10px 0px;
}

.book p i {
    color: #9e9e9e;
    margin-right: 10px;
}

/* Modal Background */
    .modal {
        display: none;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        min-height: 100vh;
        overflow: scroll;
        background: rgba(0,0,0,0.5);
    }

    /* Modal Content */
    .modal-content {
        background: #fff;
        width: 400px;
        margin: auto;
        margin-top: 20px;
        padding: 20px;
        border-radius: 8px;
        position: relative;
        overflow: scroll;
        animation: fadeIn 0.3s ease-in-out;
    }

    .modal-content label {
        font-size: 12px;
        color: #707070;
    }

    /* Close Button */
    .close {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 20px;
        cursor: pointer;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }


/* PAGINATION */
.page-info{
    text-align: center;
    margin-top: 10px;
}

.pagination{
    text-align: center;
    margin: 5px;
}

.page-info p{
    font-size: 12px;
    text-transform: uppercase;
    color: #9c9c9c;
    margin-bottom: 0px;
}

.pagination a{
    text-decoration: none;
    padding: 2px 20px;
    font-size: 14px;
    text-transform: uppercase;
    color: #9c9c9c;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    margin: 0px 2px;
}

.pagination a:hover{
    color: #ffffff;
    padding: 3px 20px;
    border: none;
    background-color: var(--color-primary);
}

/* FILTER */

.filter {
    display: flex;
    max-height: fit-content;
}
.filter select {
    width: 30%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    background-color: #ffffff;
    color: #161616;
    margin: 0px 20px;
}

/*TABLE*/

table {
  text-align: left;
  width: 100%;
  border-collapse: collapse;
}


th {
    text-align: left;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    background-color: var(--color-primary);
    padding: 10px 7px 10px 10px;
    
}
tr{
    border-bottom: 1px solid #cecece;
}

tr:hover{
    border-bottom: none;
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    
}

td {
    margin: 20px;
    font-size: 14px;
    font-weight: 400;
    gap: 10px;
    text-align: left;
    padding: 10px 10px 10px 10px;
}


hr {
    background-color: #dcdcdc; 
    height: 1px;  
    border: none;
}
/* MOBILE */
@media (max-width: 768px) {
    .containerlog {
        width: 300px;
        padding: 30px 10px;
    }
    
    .main {
        margin: 0px;
    }

    .containerdash{
        margin: 0px;
        padding: 10px;
        padding-top: 155px;
        display: block;
    }

    .cont h1 {
        font-size: 24px;
        font-weight: 600;
    }

    .cont {
        flex-wrap: wrap;
    }
    
    .cta {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 10px;
        width: 100%;
    }

    .rec {
        gap: 20px 10px;
    
    }

    .rec a {
        width: 100%;
    }

    .summary{
        width: 100%;
        margin: 10px;
    }

    .card {
        min-height: 280px;
    }

    .card h3 {
        font-size: 14px;
    }

    .image {
        height: 160px;
    }

    .empty {
        width: 100%;
        padding: 50px 30px;
    }

    .details .img {
        height: 160px;
        width: 160px;
        border-radius: 10px;
        background-size: cover;
    }

    .details h1 {
    font-size: 18px;
    }

}