/* custom.css */

.loader {
	position: fixed;
	top: 48%;
	width: 100%;
	height: 105%;
	background: #0b0b1282;
	z-index: 9;
	left: 56%;
	right: 0px;
	display: none; /* Hidden by default */
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transform: translate(-50%, -50%);
}

/* Show loader when it doesn't have the hidden class */
.loader:not(.hidden) {
	display: flex;
}

#loader img {
    max-width: 45px;
    height: auto;
  }

.ezb-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem; /* Tailwind's text-sm */
    color: #374151; /* Tailwind's text-gray-700 */
    border: none;
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    cursor: pointer;
}

.ezb-table thead th {
    background-color: #fff; /* Tailwind's bg-gray-100 */
    color: #374151; /* Tailwind's text-gray-700 */    
    font-size: 0.75rem; /* Tailwind's text-xs */
    padding: 0.5rem 1rem; /* Tailwind's px-4 py-2 */
    border-bottom: 1px solid rgb(229 231 235);
    text-align: left; 
}

.ezb-table tbody tr:hover {
    background-color: #f3f4f6; /* Tailwind's hover:bg-gray-100 */
}

.ezb-table tbody td {
    padding: 0.5rem 1rem; /* Tailwind's px-4 py-3 */
}

/* Add padding below the search field */
.dataTables_filter {
    margin-bottom: 1rem; /* Adds spacing below the search box */
}

/* Updated pagination buttons */
.dataTables_paginate {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Align items */
    gap: 0.25rem; /* Tailwind's space-x-1 */
    margin-top: 1rem; /* Add spacing above pagination */
}

.dataTables_paginate .paginate_button {
    background-color: #374151; /* Tailwind's bg-gray-100 */
    color: #d1d5db; /* Tailwind's text-gray-700 */
    border: 1px solid #e5e7eb; /* Tailwind's border-gray-200 */
    border-radius: 0.25rem; /* Tailwind's rounded */
    font-size: 0.75rem; /* Tailwind's text-xs */
    padding: 0.25rem 0.5rem; /* Smaller padding */
    cursor: pointer;
    margin: 0; /* Remove default margin */
    display: inline-block;
    text-align: center;
}

.dataTables_paginate .paginate_button:hover {
    background-color: #4b5563; /* Tailwind's hover:bg-gray-200 */
    color: #d1d5db; /* Tailwind's text-gray-900 */
}

.dataTables_paginate .paginate_button.current {
    background-color: #3b82f6; /* Tailwind's bg-blue-500 */
    color: white; /* Tailwind's text-white */
    border-color: #3b82f6; /* Tailwind's border-blue-500 */
}

.dataTables_paginate .paginate_button.disabled {
    background-color: #374151; /* Tailwind's bg-gray-50 */
    color: #d1d5db; /* Tailwind's text-gray-300 */
    cursor: not-allowed;
}

/* Parent wrapper for alignment */
.dataTables_wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Add spacing between sections */
}

/* Flexbox for top section: Show Entries and Search */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    display: inline-flex;
    align-items: center;
    margin: 0; /* Remove extra margins */
}

.dataTables_wrapper .dataTables_length {
    justify-content: flex-start; /* Align to the left */
    margin-right: auto; /* Push to left */
    color: #d1d5db;
}

.dataTables_wrapper .dataTables_filter {
    justify-content: flex-end; /* Align to the right */
    margin-left: auto; /* Push to right */
}

/* Show Entries dropdown */
.dataTables_length select {
    appearance: none;
    /* Chevron Down Arrow with contrasting fill color */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23d1d5db" viewBox="0 0 20 20"><path d="M5 7l5 5 5-5H5z"/></svg>');
    background-position: right 0.2rem center;
    background-size: 1rem 1rem;
    background-repeat: no-repeat;
}

/* Center the table */
.dataTables_wrapper .dataTables_scroll {
    margin: 0 auto;
    width: 100%;
}

/* Pagination styling */
.dataTables_wrapper .dataTables_paginate {
    display: flex;
    justify-content: center; /* Center pagination */
    margin-top: 1rem; /* Add spacing above pagination */
}

.dataTables_paginate .paginate_button {
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 0.25rem;
    color: #d1d5db;
    margin: 0 0.15rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.dataTables_paginate .paginate_button.current {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.dataTables_paginate .paginate_button:hover {
    background-color: #4b5563;
}

.dataTables_info {
    color: #d1d5db;
    font-size: 0.875rem;
}

[x-cloak] {
    display: none !important;
}

input#storageSize.storagesizeenable {
    background: white !important;
}

select#standardSize.standardsizeenable {
    background: white !important;
}

select option:hover {
    background-color: #4f46e5; /* Tailwind indigo-600 */
    color: white; /* Optional: change text color for better visibility */
  }

  /* #manage-vault-modal {
    display: flex !important; 
    align-items: center;      
    justify-content: center;  
} */



select{   
    background: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23D1D5DB' viewBox='0 0 20 20'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E") no-repeat right 0.75rem center / 1.25em 1.25em,
    #192331 !important;
    background-position: right 0.75rem center;
    background-size: 1.25em 1.25em;    
    padding-right: 2.5rem;
    -moz-appearance: none; 
    -webkit-appearance: none; 
    appearance: none;
}

#inputBillingcycle {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236B7280' viewBox='0 0 20 20'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E") no-repeat right 0.75rem center / 1.25em 1.25em,
    #ffffff !important;
  color: #111827;
  border-color: #D1D5DB;
}
 

.intl-tel-input .selected-flag,
.intl-tel-input .flag-container,
.intl-tel-input .iti-arrow,
.intl-tel-input .country-list {
    display: none !important;
}

/* select[name=country] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  } */

  #country {
    @apply block w-full px-3 py-2 border border-gray-600 text-gray-300 bg-[#11182759] rounded focus:outline-none focus:ring-0 focus:border-sky-600;
}
