#paymob_custom_gateways {
	width: 100%;
	border-collapse: collapse;
}

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

#paymob_custom_gateways th:first-child,
#paymob_custom_gateways td:first-child {
	width: 5%;
	text-align: center;
}

#paymob_custom_gateways th:nth-child(2),
#paymob_custom_gateways td:nth-child(2) {
	width: 5%;
	text-align: center;
}

#paymob_custom_gateways th {
	background-color: #3586c2;
	color: white;
}

#paymob_custom_gateways tbody tr:nth-child(even) {
	background-color: #f2f2f2;
}

#paymob_custom_gateways tbody tr:nth-child(odd) {
	background-color: #fff;
}

#paymob_custom_gateways tbody tr:hover {
	background-color: #ddd;
}

.enable-checkbox {
	margin-top: 0;
}

.button {
	margin: 0 5px;
	padding: 6px 12px;
	border-radius: 3px;
}

.button-secondary {
	background-color: #0073aa;
	color: #fff;
	border: none;
}

.button-secondary:hover {
	background-color: #005b85;
}

.button-primary {
	background-color: #d63638;
	color: #fff;
	border: none;
}

.button-primary:hover {
	background-color: #a02828;
}

#confirmation-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;

}

#confirmation-modal-content {
    background: linear-gradient(145deg, #e6f2ff, #e6f2ff);
    padding: 40px 30px;
    border-radius: 15px;
    /* width: 90%; */
    max-width: 50%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: popIn 0.3s ease-out;
    color: #605757;
    /* font-family: 'Arial', sans-serif; */
    text-align: center;
    margin: 10% 30% 30% 30%;
}

#confirmation-modal-title {
	/* margin-top: 0; */
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #605757;
}

#confirmation-modal-button-container {
    font-size: 16px;
    margin-bottom: 20px;
    color: #605757;
}
#confirmation-modal-cancel {
    background-color: #871b1b;
}
#confirmation-modal-cancel:hover {
    background-color: #871b1b;
}
#mainform .submit { display: none; }
.disabled-link {
	pointer-events: none; /* Prevents click events */
	opacity: 0.6; /* Makes the link look disabled */
	cursor: not-allowed; /* Changes the cursor to indicate it's not clickable */
}
/* Responsive Styles */
@media (max-width: 768px) {
    #paymob_custom_gateways, #paymob_custom_gateways thead, #paymob_custom_gateways tbody, #paymob_custom_gateways th, #paymob_custom_gateways td, #paymob_custom_gateways tr {
        display: block;
        width: 100%;
    }
    #paymob_custom_gateways thead tr {
        display: none;
    }
    #paymob_custom_gateways tbody tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
    }
    #paymob_custom_gateways td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #ddd;
    }
    #paymob_custom_gateways td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-align: left;
    }
    /* Hide less important columns on mobile */
    .column-reorder,
    .column-integration-id,
    .column-logo {
        display: none;
    }
}

/* Modal Overlay */
.webhook-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show modal */
.webhook-modal.show {
    display: flex; /* or 'block', depending on your needs */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

/* Modal Content Box */
.webhook-modal-content {
    background: linear-gradient(145deg, #e6f2ff, #e6f2ff);
    padding: 1%;
    border-radius: 15px;
    /* width: 90%; */
    max-width: 50%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: popIn 0.3s ease-out;
    color: #605757;
    /* font-family: 'Arial', sans-serif; */
    text-align: center;
    margin: 10% 30% 30% 30%;
    /* float: left;  */
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header styling */
.webhook-modal-content h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #605757;
}

.modal-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #605757;
}

/* Modal Callbacks Section */
.modal-callback {
    margin-bottom: 25px;
    text-align: left;
    font-size: 18px;
}

.modal-callback label {
    font-size: 16px;
    color: #605757;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.modal-callback p {
    color: #928888;
    background-color: rgba(255, 255, 255, 16.1);
    padding: 10px;
    border-radius: 10px;
    font-style: italic;
    font-size: 15px;
}

/* Input Fields */
input[type="text"] {
    width: 100%;
    padding: 6px;
    margin-top: 15px;
    border-radius: 10px;
    border: 1px solid #f3f0f1;
    font-size: 15px;
    color: #928888;
    background-color: #fff;
    transition: 0.3s ease-in-out;
}

input[type="text"]:focus {
    border-color: #f3ecef;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 51, 133, 0.5);
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

button {
    padding: 12px 25px;
    border-radius: 50px;
    background-color: #3586c2;  /* Light Blue background */
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

button:hover {
    background-color: #87CEEB;  /* Lighter blue on hover */
    transform: translateY(-2px);
}

button:focus {
    outline: none;
}

#modal_close_button {
    background-color: #871b1b;
}

#modal_close_button:hover {
    background-color: #888;
}

button:active {
    transform: translateY(1px);
}

/* Custom Scrollbar Styling */
.webhook-modal-content::-webkit-scrollbar {
    width: 8px;
}

.webhook-modal-content::-webkit-scrollbar-thumb {
    background-color: #ff3385;
    border-radius: 10px;
}

.webhook-modal-content::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Modal Close Button */
#modal_close_button {
    background-color: #871b1b;
}

#modal_close_button:hover {
    background-color: #ff2222;
}

/* Submit Button (Dark Blue) */
button#modal_submit_button {
    background-color: #005bb5; /* Dark Blue submit button */
}

button#modal_submit_button:hover {
    background-color: #004085; /* Darker blue on hover */
}

/* Responsive Design */
@media (max-width: 600px) {
    /* Modal Content Box */
    .webhook-modal-content {
        background: linear-gradient(145deg, #e6f2ff, #e6f2ff);
        padding: 1%;
        border-radius: 15px;
        /* width: 90%; */
        max-width: 50%;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        animation: popIn 0.3s ease-out;
        color: #605757;
        /* font-family: 'Arial', sans-serif; */
        text-align: center;
        margin: 0;
        /* float: left;  */
    }

    /*.webhook-modal-content {
        padding: 20px;
        width: 95%;
        max-width: 100%;
    }*/
    /* Modal Overlay */
.webhook-modal {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
    .webhook-modal-content h2 {
        font-size: 25px;
    }
    .modal-description {
        font-size: 14px;
    }
    input[type="text"] {
        font-size: 16px;
        padding: 12px;
    }
    button {
        font-size: 16px;
        padding: 10px 20px;
    }
}
#wpbody-content{
    background-color: white;
}