/*------------------------------------------------------------------
    File Name: custom.css
-------------------------------------------------------------------*/
/* revenu */


.data {
    display: none;
    margin-top: 20px;
   
    color: #333;
    
    padding: 10px;
   
  }
  
  .data.active {
    display: block;
  }

 /* sidebar */
 .sidebar-toggle {
    position: fixed;
    top: 20px;
    left: -13px;  
    width: 50px;
    height: 50px;
   margin-left: 130px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.7s ease, right 0.7s ease; 
    /* Smooth movement */
}
/* 
.sidebar-toggle.moved {
    left: 146px;
    right: 1px;
} */


/* revenue-download */
.search-container {
    display: flex;
    justify-content: center;
    margin: 0px 0;
    color: black;
}
.search-box {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    margin-left: 18%;
    border-radius: 4px;
}


.download-button {
    display: inline-block;
    padding: 12px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    margin-left: 37%;
    text-align: center;
}
/* calender-revenue */

.calendar-container {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);


    align-items: center;
}
.calender-label-revenue{
    font-weight: bold;
    margin: 10px 0 5px;
    margin-left: 40px;
}
#to-cal{
    margin-left: 50px;
}
.calender-input-revenue[type="date"] {
    width: 71%;
    padding: 10px;
    margin-top: px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.calender-button-revenue {
    padding: 10px 13px;
    background-color: #0056b3;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 10%;
    display: flex ;
    justify-content: center;
    align-items: center;
    margin-left: 46%;
    margin-top: 1%;
}

.calender-revenue-management{
    display: flex;
}
/* .first-calender {
    display: flex
;
    flex-direction: column;
    margin-top: 36px;
    align-items: center;
} */
 
 
#country-revenue {
    height: 42px;
    width: 63%;
    margin-left: 94%;
    margin-top: 34px;
    border-radius: 5px;
}
/* #subscription {
    height: 42px;
    width: 56%;
    margin-top: 34px;
    border-radius: 5px;
    margin-left: 73%;
} */
 .revenu-manage-select-country{
    margin-left: -14px;
 }
 .download-revenue-manage{
    margin-top: -12px;
 }
 #country-revenue {
    direction: ltr; /* Forces dropdown to open downwards */
  }
  .revenu-management-list {
    position: relative;
  }
  .revenu-manage-select-country {
    margin-bottom: 20px;
    overflow: visible;
  }
   /* graph */
  
.chart-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    text-align: center;
}
canvas {
    max-width: 100%;
    height: auto;
}
 /* .margin_bottom_30{
    margin-left: -17%;
 } */

 
 
 /* country-management------------------------------------------ */

 
 
/** ADD YOUR AWESOME CODES HERE **/
/* country-----------------------management */
  /* -----------country-management----------- */
 

  .main-container {
    max-width: 600px;
    margin: 0 auto;
}

 .country-mana-button {
    padding: 10px;
    margin: 5px;
    cursor: pointer;
}

 .country-mana-button:focus {
    outline: none;
}

 .country-mana-select  {
    padding: 5px;
    width: 100%;
    margin: 5px 0;
}

.country-mana-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.country-mana-th, .country-mana-td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.country-mana-th {
    background-color: #f4f4f4;
}

.remove-icon {
    cursor: pointer;
    width: 20px;
}
 /* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Container */
.modal-container {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
}

/* Modal Header */
.modal-header {
    background: #00ADD6;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* Modal Body */
.modal-body {
    padding: 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* Modal Footer */
.modal-footer {
    padding: 10px;
    text-align: right;
    background: #f1f1f1;
}

/* Cancel Button */
.btn-cancel {
    padding: 10px 15px;
    background: #00ADD6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-cancel:hover {
    background: #007aa5;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

 .subscription-add-form-hode-btton{
    background: white;
    border-radius: 8px;
    max-width: 500px;
    
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    
    justify-content: center;
    align-items: center;

 }
#planFormContainer {
    display: none;
    border: 1px solid #ccc;
    padding: 20px;
    width: 26%;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-top: 25px;
    background-color: white;
    margin-left: 40%;
  
}

.cancel-button{
    height: 36px;
    width: 81px;
    border: 1px solid red;
    background-color: red;
    color: white;
}
.submit-button {
    padding-top: 2%;
    height: 36px;
    width: 81px;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
}
.add-hide-form{
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* .rounded-circle {
    
    margin-left: 40%;
} */
 
.date-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    margin-left: -16px;
}
.user-btn{
    margin-left: -21px;
}
 

.date-container label {
position: absolute;
left: 10px;
top: -6px;
font-size: 12px;
color: #007bff;
background: white;
padding: 0 5px;
transition: all 0.3s ease-in-out;
pointer-events: none;
}

.date-container input:focus {
    border-color: #007bff;
}
 


/* dealer-table */
 


.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}


button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.apply-btn {
    background-color: #007bff;
    color: white;
}

.export-btn {
    background-color: #a000b3;
    color: white;
}

#dealerTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.dealer-user-table,  .dealer-user-td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.dealer-user-table {
    background-color: #f1f1f1;
}

.approve {
    background-color: green;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.activate {
    background-color: blue;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

#rowsPerPage {
    padding: 5px;
    font-size: 14px;
}

.view-icon {
    color: blue;
    cursor: pointer;
}

/* date part */
 
 
.user-container-btns-all{
    display:flex;
}

.date-wrapper label {
    position: absolute;
    left: 10px;
    top: -7px;
    font-size: 12px;
    color: #007bff;
    background: white;
    padding: 0 5px;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.date-wrapper input:focus {
    border-color: #007bff;
}
/* date css custome */
 
.user-btn-deal{
    .user-btn {
        margin-left: -21px;
        display: flex
    ;
        gap: 17px;
        /* padding: 13px; */
        margin-top: 0%;
        margin-bottom: 27px;
    }
}


 

.banner-manage-h1 {
    font-size: 17px;
    color: #7b7474;
    line-height: normal;
    font-weight: 600;
    /* text-transform: uppercase; */
}
.header-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 
.banner-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.banner-th, .banner-td {
    border-bottom: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    width: 8%;
}
.banner-th {
    background-color: #f1f5f9;
}
.banner-img {
    width: 80px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

/* contact equiry */
 

.container-lead-manage{
    margin-left: 7%;
}

.container-enquiry-contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.container-enquiry-contact-th, .container-enquiry-contact-td {
    border-bottom: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.container-enquiry-contact-th {
    background-color: #f1f5f9;
}
.status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: white;
    display: inline-block;
    font-weight: bold;
}
.resolved {
    background-color: #28a745;
}
.pending {
    background-color: #ff9900;
}

/* /fraud */
.container-fraud-tbl {
    max-width: 1349px;
    margin-left: 9%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.search-wrapper {
    position: relative;
    width: 70%;
}
.search-wrapper input {
    width: 41%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    padding-top: 20px;
}
.search-wrapper label {
    position: absolute;
    left: 10px;
    top: 12px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}
.search-wrapper input:focus + label,
.search-wrapper input:not(:placeholder-shown) + label {
    top: -5px;
    left: 14px;
    font-size: 12px;
    color: rgb(118, 196, 218);
}
.export-btn {
    padding: 10px 15px;
    background: #6a0dad;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.reportTable-tbl {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.reportTable-tbl-th, .reportTable-tbl-td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    width: 4%;
}
 .reportTable-tbl-th {
    background: #f1f1f1;
}
.action-icon {
    color: blue;
    font-size: 18px;
    cursor: pointer;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
.pagination button {
    padding: 8px 12px;
    margin: 2px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.pagination button:disabled {
    background: #ccc;
}