/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 29-Mar-2025, 7:47:38 pm
    Author     : akhil
*/

body {
    background-color: #F1F4F7;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    overflow: hidden;
}

.profile-name{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #219346
}

.profile-role{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #868690
}

.wrapper {
    display: flex;
    margin-top: 0; /* Will be adjusted dynamically */
}

.wrapper-login{
    min-height: 100vh;
    max-height: 100vh;
    background-color: #FFFFFF
}

.sidebar {
    width: 300px;
    background-color: #ffffff;
    color: #fff;
    border-top-right-radius: 10px;
    flex-direction: column;
    padding-left: 3%;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.scrollable-content {
    overflow-y: auto;
    flex-grow: 1;
    padding-bottom: 80px;
}

.sidebar.collapsed {
    width: 96px;
}

.sidebar .menu-item {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    color: #000000
}

.active-menu {
    color: #219346 !important
}

.sidebar.collapsed .menu-item span {
    display: none;
}

.toggle-btn {
    background-color: #ffffff;
    color: #219346;
    padding: 14px;
    cursor: pointer;
    font-size: 14px;
}

.main-content {
    flex: 1;
    background-color: #f4f4f4;
    padding-right: 3%;
    height: 90vh;
    overflow-y: scroll !important;
    padding-bottom: 80px;
}

.theme-card{
    border-radius: 10px;
    border: 6px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

/* Hover Effect */
.theme-card:hover {
    transform: scale(1.02); /* Slight zoom effect */
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/* Focus Effect (for keyboard navigation) */
.theme-card:focus {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.8); /* Glow effect */
    outline: none; /* Removes default focus outline */
}

.theme-body{
    padding: 40px 20px;
    border-radius: 10px;
}

.theme-card-data{
    border-radius: 10px;
    border: 6px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.theme-card-data-body{
    padding: 10px;
    border-radius: 10px;
}

.bg-1{
    background: #DDF0E3;
}

.bg-2{
    background: #D8E8C9;
}

.bg-3{
    background: #F4F1BD;
}

.bg-4{
    background: #D8E8C9;
}

.bg-5{
    background: #93292159
}

.text-color-1{
    color: #868690
}

.theme-card-desc{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #000000;
}

.theme-card-count{
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    color: #000000
}

.page-name{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.theme-table thead th {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform: capitalize;
}

.theme-table tbody tr {
    background-color: #FFFFFF !important;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;
    text-transform: capitalize;
}

.btn-status{
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    color: black;
    padding: 3px 20px;
    box-sizing: border-box;   /* Includes padding and border in the width */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.theme-btn {
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    color: black;
    padding: 3px 20px;
    display: block;
    box-sizing: border-box;   /* Includes padding and border in the width */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Hover Effect */
.theme-btn:hover {
    transform: translateY(2px); /* Slight lift effect */
    border: 1px solid #868690 !important;
    color: black;
}

/* Active Effect (when button is clicked) */
.theme-btn:active {
    transform: translateY(4px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Reduced shadow to show "pressed" state */
    color: black;
}

.nav-tabs .nav-link {
    font-size: 14px;
    text-transform: capitalize;
}

.rounded-table {
    border-collapse: separate; /* Important for border-radius */
    border-spacing: 0; /* Removes extra space between cells */
    width: 100%;
    border-radius: 10px; /* Apply rounded corners */
    overflow: hidden; /* Ensures the content stays within rounded edges */
}

.rounded-table thead th {
    border-bottom: none !important;
}

.rounded-table tfoot {
    border: none !important;
}

.search-input{
    border-width: 1px;
    border: 1px solid #E4E6ED;
    border-radius: 100px;
    font-size: 14px;
    padding-left: 30px;
    padding-right: 5px;
    padding-top: 7px;
    padding-bottom: 7px;
    background: url('https://img.icons8.com/ios-filled/50/868690/search.png') no-repeat left center;
    background-size: 14px 14px; /* Adjust icon size */
    background-color: white; /* White background */
    width: 100%;
    background-position: 10px center; /* Adjusts the icon position */
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.search-input:hover {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* Focus effect */
.search-input:focus {
    border-color: #4CAF50;
    outline: none; /* Removes default focus outline */
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.8);
}

/* Active input (when the user is typing) */
.search-input:active {
    border-color: #FF5733;
    box-shadow: 0 0 5px rgba(255, 87, 51, 0.7);
}

.table-anchor{
    text-decoration: none;
    color: #000000
}

.no-decoration{
    text-decoration: none;
    color: #000000
}

.order-number{
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

.order-price{
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.order-date{
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    color: #808080
}

.order-table thead {
    background-color: #F1F4F7 !important;
}

.order-table thead th {
    font-weight: 400 !important;
    font-size: 15px !important;
    text-transform: capitalize;
    color: #808080;
}

.order-img{
    width: 70px;
    height: 88px;
}

.order-name-table{
    font-weight: 400;
    font-size: 15px;
    text-transform: capitalize;
}

.order-desc-table{
    font-weight: 400;
    font-size: 10px;
    text-transform: capitalize;
    color: #808080;
}

.order-table tfoot {
    border-top: 2px solid #EBEBEB
}

.order-table tfoot th {
    font-weight: 400 !important;
    font-size: 15px !important;
    text-transform: capitalize;
    color: #808080;
}

.customer-name{
    font-weight: 700;
    font-size: 14px;
    text-transform: capitalize;
}

.customer-info{
    font-weight: 400;
    font-size: 14px;
    text-transform: lowercase;
}

.customer-other{
    font-weight: 400;
    font-size: 13px;
    color: #808080
}

.timeline {
    position: relative;
    padding-left: 40px; /* Space for the line */
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0px; /* Line positioned on the left */
    width: 4px;
    height: 100%;
    background: #F4F1BD;
}

.timeline-item {
    position: relative;
    padding: 20px 0 20px 50px; /* Space for dot */
}

.timeline-dot {
    position: absolute;
    top: 30px;
    left: 0px; /* Dot aligned with the line */
    width: 20px;
    height: 20px;
    background: #219346;
    border-radius: 50%;
    border: 5px solid #D8E8C9;
}

.timeline-dot-danger {
    position: absolute;
    top: 30px;
    left: 10px; /* Dot aligned with the line */
    width: 20px;
    height: 20px;
    background: #932921;
    border-radius: 50%;
    border: 5px solid #D8E8C9;
}

table.dataTable thead th {
    text-align: center !important;
}

table.dataTable tbody td {
    text-align: center !important;
}

.service-name{
    font-size: 13px
}

.service-desc {
    font-weight: 400;
    font-size: 12px;
    color: #6F777E;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Must be normal for line clamp to work */
}

.service-buyer{
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
}

.service-info{
    font-weight: 400;
    font-size: 13px;
    text-transform: lowercase;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #ffffff;
}

.dt-buttons{
    margin-bottom: 10px
}

.dt-search{
    margin-bottom: 10px
}

#myChart {
    width: 100%;
    height: 400px; /* Set your desired height */
}

.invalid {
    border: 2px solid red !important;
    background-color: #ffe5e5;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}

.shake {
    animation: shake 0.3s;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 20px;
    }
    .timeline::before {
        left: 10px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-dot {
        left: 0px;
    }
    .dt-buttons .btn {
        padding: 0.4rem 0.4rem;
        font-size: 0.7rem;
        line-height: 1;
    }
    .dt-buttons .btn span {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    .main-content{
        margin-bottom: 30px
    }
}

/* Tablets (768px and up) */
@media (max-width: 768px) {
    .sidebar.collapsed {
        width: 65px !important;
    }
}

/* Desktops (1024px and up) */
@media (max-width: 1024px) {
    .sidebar.collapsed {
        width: 96px;
    }
}

/* Large screens (1200px and up) */
@media (max-width: 1200px) {
    .sidebar.collapsed {
        width: 96px;
    }
}
.bg-bronze {
    background: linear-gradient(135deg, #cd7f32, #a97142);
}
.bg-silver {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
}
.bg-gold {
    background: linear-gradient(135deg, #ffd700, #e6c200);
}
.bg-platinum {
    background: linear-gradient(135deg, #e5e4e2, #c0c0c0);
}
