/* Admin notice related css starts here */
.saprfurl-admin-promotion-notice {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    background: radial-gradient(circle, rgb(255, 214, 94) 60%, rgba(255, 214, 94, 0) 100%);
}

.saprfurl-admin-promotion-notice {
    padding: 1px;
    margin-left: -20px;
    margin-bottom: -5px;
    margin-top: -5px;
}

.saprfurl-admin-promotion-notice p {
    color: #3a3a3a;
    font-size: 16px;
}

.saprfurl-admin-promotion-notice p a {
    color: #3a3a3a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.saprfurl-admin-promotion-notice p a:hover {
    text-decoration: underline;
}

.saprfurl-gbg {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

.saprfurl-settings-area.saprfurl-settings-page.notice {
    display: block !important;
}

.saprfurl-settings-area h2 {
    margin-left: inherit;
}

.saprfurl-coming-soon-block {
    border: 1px solid #ccc;
    border-radius: 5px;
    opacity: 0.7;
    padding: 10px;
    display: inline-block;
}

/* Toggle switch container */
.switch {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

/* Hide default checkbox */
.switch input {
    display: none;
}

.initial-switch {
    margin-left: 0;
}

/* Switch slider (background) */
.slider {
    position: relative;
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    transition: background 0.3s ease-in-out;
    margin-right: 8px;
}

/* Circle (toggle knob) */
.slider:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

/* Change background when checked */
input:checked+.slider {
    background: #4CAF50;
}

/* Move circle to the right when checked */
input:checked+.slider:before {
    transform: translateX(20px);
}

/* Admin Promotional Banner CSS*/

.saprfurl-admin-promotional-banner {
    display: none;
    /* Display:flex to show the content of promotional block*/
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

.saprfurl-admin-promotional-banner img {
    max-width: 100%;
    height: auto;
    display: block;
}

.saprfurl-page-heading p {
    margin-top: -15px;
}

/*Main permanent banner css*/
.saprfurl-admin-top-banner {
    display: flex;
    justify-content: space-between;
    background: #4CAF50;
    padding: 15px 25px;
    color: #fff;
    margin-bottom: 20px;
    margin-left: -20px;
}

.saprfurl-admin-banner__logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.saprfurl-admin-banner__logo img {
    height: 50px;
    width: auto;
}

.saprfurl-name-tagline {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.saprfurl-name {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.saprfurl-tagline {
    margin: 0;
    font-size: 0.95rem;
    color: #ecf0f1;
}

.saprfurl-admin-banner__helplinks {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.saprfurl-admin-banner__helplinks a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding-top: 5px;
}

.saprfurl-admin-banner__helplinks a:hover {
    border-top: 1px solid;
    padding-top: 5px;
}

.saprfurl-admin-banner__helplinks .dashicons {
    margin-right: 6px;
    font-size: 16px;
}

.clear::after {
    content: "";
    display: table;
    clear: both;
}

/* Page Heading CSS */
.saprfurl-page-heading h1 {
    margin-bottom: 1rem;
}

/* Redirect block CSS starts here */

.saprfurl-redirect-after-login,
.saprfurl-redirect-after-logout {
    display: flex;
}

.saprfurl-redirect-after-login p,
.saprfurl-redirect-after-logout p {
    font-weight: bold;
}

.saprfurl-redirect-after-registration {
    display: flex;
}

.saprfurl-redirect-after-registration p {
    font-weight: bold;
}

.saprfurl-advanced-tools-body {
    width: 30%;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}