
/* Toggle Switch */
.switch-saas {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
}

.switch-saas input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-saas {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #e5e7eb;
    border-radius: 999px;
    transition: .25s;
}

.slider-saas:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    top: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .25s;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.switch-saas input:checked + .slider-saas {
    background-color: #10b981;
}

.switch-saas input:checked + .slider-saas:before {
    transform: translateX(24px);
}
@media (min-width: 1200px) {
    .modal-dialog {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .modal-content {
        min-height: 160px !important;
        border-radius: 16px;
        box-shadow: none !important;
        max-width: 50% !important;
        margin-left: auto;
        margin-right: auto;
    }
}

* {
    transition: 0.22s ease;
}

.card-saas {
    border: none !important;
    border-radius: 16px;
    padding: 26px;
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.card-saas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #0d6efd, #4f9cff);
}

.saas-header {
    font-size: 22px;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 6px;
}

.saas-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.saas-badge {
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.badge-success-saas {
    background: #e6f9ef;
    color: #0f9d58;
    border: 1px solid #c4f0da;
}

.badge-danger-saas {
    background: #fde8e8;
    color: #d93025;
    border: 1px solid #f5cccc;
}

.flash {
    animation: flashGlow 1s ease-in-out;
}

@keyframes flashGlow {
    0% { background-color: #fff3cd; }
    100% { background-color: transparent; }
}

.btn-saas {
    padding: 10px 26px;
    border-radius: 12px !important;
    font-size: 15px;
    font-weight: 600;
}

.btn-refresh {
    background: #f3f8ff;
    color: #0d6efd;
    border: 1px solid #cfe0ff;
}

.btn-refresh:hover {
    background: #e5eeff;
    transform: translateY(-1px);
}

.spin {
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.btn-danger-saas {
    background: #ef4444;
    border: none;
    color:#fff;
}

.btn-danger-saas:hover {
    background: #d62828;
    transform: scale(1.03);
}

.form-control {
    border-radius: 12px !important;
    height: 44px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
    padding-left: 12px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgb(13 110 253 / 18%);
}

