/* Add this to your theme's style.css or a custom CSS file */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.cancellation-modal-content {
    position: fixed;
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}
#cancellationModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

/* user report table css  */
html {
    font-size: 62.5%;
}
body {
/*     font-family: "Open Sans"; */
    font-size: 1.4rem;
}
#scope-wrapper {
    padding-top: 65px;
}
#scope-controls {
    height: 200px;
}
.btn-expand {
    float: right;
}

 .wp-dashboard-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}
.wp-dashboard-table {
    width: 100%;
    max-width: 1050px !important;
    min-width: 1050px !important;
    overflow: auto;
    height: 100%;
    max-height: 500px;
}

.dataTables_filter{
	float:left !important;
}

/* checkout page loader when product removed from cart */
.loader-wrapper {
    position: relative;
    display: inline-block;
}

.loader {
    border: 4px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top: 4px solid #000;
    width: 24px;
    height: 24px;
/*     animation: spin 1s linear infinite; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none; /* Hidden by default */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9998;
    display: none; /* Hidden by default */
}

.loader-wrapper.loading .loader,
.loader-wrapper.loading .overlay {
    display: block; /* Show when loading */
    
}

/* Loader wrapper styles */
.btn-loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.btn-loader-wrapper.btn-loading {
    display: flex !important; /* Show when loading */
}

.btn-loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#reset-password-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#reset-password-popup .reset-password-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

#reset-password-popup input[type="password"] {
    margin: 5px 0;
    padding: 10px;
    width: calc(100% - 22px);
}

.reset-password-popup-content .error-message {
    color: red;
    font-size: 0.875em;
    margin-top: 5px;
    text-align: left !important;
}
.reset-password-popup-content p{
    text-align: left !important;
}

#reset-password-popup .button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

#popup-close {
    display: inline-block;
    margin-top: 10px;
    padding: 10px;
    background: #ccc;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


#reset-password-popup .btn-loader-wrapper {
    position: relative;
}

#reset-password-popup .button-loader {
    display: inline-block;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 2px solid #333;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}


#example tbody tr td:nth-child(7), #example tbody tr td:nth-child(11), #example td span {
    display: none;
}
div#dateFilter {
    border: 1px solid grey;
    padding: 10px 35px;
    margin: 10px 0;
    width: 60%;
}

.custom-keycloak-filter .dt-layout-cell.dt-layout-full {
    overflow: scroll !important;
}
.custom-keycloak-filter #dateFilter {
    border: none !important;
    padding: 0 !important;
}

.custom-keycloak-filter #dateFilter {
    border: none !important;
    padding: 0 !important;
	width: 100%;
}
.custom-keycloak-filter .dt-layout-row:nth-child(1) {
    display: flex;
    justify-content: space-between;
}
.custom-keycloak-filter .dt-layout-row:nth-child(1) .dt-search {
    margin-right: 20px;
}
.custom-keycloak-filter input {
	min-height: 30px;
    border-radius: 4px;
    border: 1px solid #2196F3 !important;
    background: #3f88e614 !important;
    font-weight: 500;
}
.custom-keycloak-filter {
    background: #fff;
    padding: 20px;
    margin-top: 30px;
}
.custom-keycloak-filter select {
    min-height: 30px;
    border-radius: 4px;
    border: 1px solid #2196F3 !important;
}
.custom-keycloak-filter #dateFilter .datefilter-inputs {
    display: flex;
    gap: 8px;
	align-items: center;
}
.custom-keycloak-filter .dt-buttons button span {
    font-weight: 800;
}
#wc-memberships-for-teams-teams-area .woocommerce-message:nth-child(2) {
    display: none !important;
}

span#team_owner_takes_seat-description {
    margin-left: 10px;
}
@media only screen and (max-width: 767px) {
	.custom-keycloak-filter #dateFilter .datefilter-inputs {
		display: flex;
		flex-wrap: wrap;
	}
	.custom-keycloak-filter .dt-layout-row:nth-child(1) {
		display: flex;
		flex-wrap: wrap;
	}
}
.custom-page-payment .variation-team_name {
    display: none !important;
}