

body {
    font-family: "Lucida Console", Monaco, monospace;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #FFF0F5; 
}

main {
    flex: 1;
    padding-top: 80px;
}


.navbar {
    padding-right: 17px;
    top: 0;
    height: 100px;
    border-bottom: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.navbar.shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@media (max-width: 991px) {
    .custom-collapse-bg {
        background-color: #fff;
        position: absolute;
        top: 100px;
        right: 0;
        width: 220px;
        border: 1px solid #ccc;
        padding: 1rem;
    }
}


footer {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    margin-top: auto;
}


.row {
    padding-top: 25px;
}


.card {
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}


.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    font-family: "Lucida Console", Monaco, monospace;
    z-index: 1000;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover {
    background-color: #a71e2a;
}


@media (max-width: 768px) {
    .back-button {
        display: none;
    }
    
    
    .navbar {
        height: 60px;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    main {
        padding-top: 2px; 
    }
    
    
    .row {
        padding-top: 3px; 
    }
    
    
    body {
        overflow-x: hidden;
    }
    
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: none;
        box-shadow: none;
    }
    
    
    .table {
        font-size: 13px;
    }
    
    .table th,
    .table td {
        padding: 8px 4px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 40px; 
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    main {
        padding-top: 1px; 
    }
    
    
    .row {
        padding-top: 2px; 
    }
    
    
    .table {
        font-size: 11px;
    }
    
    .table th,
    .table td {
        padding: 6px 2px;
        font-size: 10px;
    }
}

.text-center-td {
  text-align: center;
}



.btn-save {
    background-color: #dc3545 !important;
    color: white !important;
    border: 2px solid black !important;
}
.btn-save:hover {
    background-color: #c82333 !important;
}


.btn-saved {
    background-color: #3d8b3d !important;
    color: white !important;
    border: 2px solid #3d8b3d !important;
}
.btn-saved:hover {
    background-color: #317a31 !important;
}


.btn-back {
    background-color: #6c757d !important;
    color: white !important;
    border: 2px solid black !important;
}
.btn-back:hover {
    background-color: #545b62 !important;
}