.spinner-img {

    width: 155px;

    height: auto;

    margin-bottom: 15px;

    background: #efefef;

    border-radius: 50%;

    padding: 11px;

    box-shadow: 0 0 5px #d16aff, 0 0 23px #d16aff, 0 0 35px #d16aff;

    margin: 0 auto;

    display: block;

}



/* Test Connection Button (Orange -> Green on hover) */

.test-connection-button.button {

    background-color: #F6821F !important;

    border: 0 !important;

    color: #fff !important;

    font-weight: 500;

    letter-spacing: 2px;

    font-size: 14px;

    cursor: pointer;

    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;

    display: flex;

    align-items: center;

    gap: 15px;

    flex-direction: row-reverse;

}

.test-connection-button.button:hover {

    background-color: #00D78B !important;

    transform: scale(1.05);

}



/* Success / Testing / Failed Connection Button States */

.wp-admin button.button.connection-success-button {

    background-color: #00D78B !important;

    border: 0 !important;

    color: #fff !important;

    font-weight: 500;

    letter-spacing: 2px;

    font-size: 14px;

}

.wp-admin button.button.testing-connection-button {

    background-color: #ffb900 !important;

    border: 0 !important;

    color: #fff !important;

    font-weight: 500;

    letter-spacing: 2px;

    font-size: 14px;

}

.wp-admin button.button.connection-failed-button {

    background-color: #dc3232 !important;

    border: 0 !important;

    color: #fff !important;

    font-weight: 500;

    letter-spacing: 2px;

    font-size: 14px;

}



/* Custom Confirm Modal */

div#customConfirmModal {

    background: rgba(34, 34, 34, 0.8) !important;

}

p#customConfirmMessage {

    font-size: 17px;

    font-weight: 500;

}

button#customConfirmYes {

    background: #00D78B;

    border: 0;

    font-size: 17px;

    font-weight: 500;

    margin-right: 5%;

}

button#customConfirmNo {

    font-size: 16px;

}

button#customConfirmNo:hover {

    background: red;

    color: #fff;

    border: 0;

    font-size: 17px;

}

button#customConfirmYes:hover {

    background: #d16aff;

}



/* Circle count next to post types */

.cache-me-baby-count {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 35px;

    height: 35px;

    border-radius: 50%;

    background-color: #efefef;

    border: 1px solid #ccc;

    font-size: 0.9em;

    color: #222;

    margin-left: 5px;

    margin-right: 10px;

    transition: background-color 0.3s;

}

/* Change background color when hidden checkbox is checked */

input[type="checkbox"]:checked + .cache-me-baby-count {

    background-color: #00D78B;

    color: #fff;

}



/* Loading GIF styling */

#loadingGif {

    width: 88px;

    height: auto;

    margin-bottom: 15px;

    background: #efefef;

    border-radius: 50%;

    padding: 11px;

    display: block;

    margin-left: auto;

    margin-right: auto;

    box-shadow: 0 0 5px #d16aff, 0 0 23px #d16aff, 0 0 35px #d16aff;

}



/* Text/label sizes */

.cache_me_baby_settings_area label,

.cache-me-baby-main-content p,

.cache-me-baby-sidebar p,

.cache-me-baby-sidebar li {

    font-size: 16px;

    line-height: 1.5;

}



/* Loading text style */

p.loading-text {

    text-align: center;

    font-size: 23px;

    font-weight: bold;

}



/* Main Warm Cache button */

#warm_cache_ajax {

    background-color: #00D78B !important;

    color: #ffffff !important;

    font-size: 18px;

    font-weight: bold;

    padding: 12px 24px;

    border: none;

    border-radius: 6px;

    cursor: pointer;

    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;

    display: flex;

    align-items: center;

    gap: 15px;

    flex-direction: row-reverse;

    letter-spacing: 3px;

}

#warm_cache_ajax:hover {

    background-color: #d16aff !important;

    transform: scale(1.05);

}

#warm_cache_ajax:active {

    transform: scale(0.95);

}

#warm_cache_ajax .dashicons {

    font-size: 27px;

    line-height: 0.6;

}



/* Cloudflare Clear button */

#warm_cache_cloudflare {

    background-color: #F6821F !important;

    color: #ffffff !important;

    font-size: 14px;

    font-weight: 500;

    border: none;

    border-radius: 4px;

    cursor: pointer;

    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;

    display: flex;

    align-items: center;

    gap: 15px;

    flex-direction: row-reverse;

    letter-spacing: 2px;

}

#warm_cache_cloudflare:hover {

    background-color: #00D78B !important;

    transform: scale(1.05);

}



/* Save Settings & Speed Service buttons */

#save_warm_cache_settings,

#speed_service_button {

    background-color: #d16aff !important;

    color: #ffffff !important;

    border: none;

    border-radius: 6px;

    cursor: pointer;

    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;

    width: 169px;

    text-align: center;

    font-size: 18px;

    letter-spacing: 3px;

}

#save_warm_cache_settings:hover,

#speed_service_button:hover {

    background-color: #00D78B !important;

    transform: scale(1.05);

}

#save_warm_cache_settings:active,

#speed_service_button:active {

    transform: scale(0.95);

}



/* 

   Show the settings area by default 

   (REMOVE display: none) 

*/

.cache_me_baby_settings_area {

    display: block; /* or 'flex' if you prefer */

    background: #efe;

    padding: 15px;

    margin-top: 23px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    border-radius: 8px;

    width: 95%;

    box-sizing: border-box;

}



/* Keep #cache_warming_status hidden by default if desired */

#cache_warming_status {

    display: none;

    padding: 5px 25px 25px 25px;

    margin-top: 23px;

    border-radius: 8px;

    width: 95%;

}



/* Container for main content & sidebar */

.cache-me-baby-container {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-top: 20px;

}



/* Main content area */

.cache-me-baby-main-content {

    width: 77%;

}



hr.nice-divider {

    margin-top: 23px;

    max-width: 90%;

}



/* Sidebar styling */

.cache-me-baby-sidebar {

    width: 23%;

    background-color: #222 !important;

    padding: 1%;

    border-radius: 23px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    color: #fff;

    display: flex;

    flex-direction: column;

    border: solid #d16aff 4px;

}

.cache-me-baby-sidebar h3 {

    margin-top: 0;

}

.cache-me-baby-sidebar ul {

    list-style-type: none;

    padding: 0;

}

.cache-me-baby-sidebar ul li {

    padding: 0;

}



/* Speed worker image styling */

.speed-worker img {

    width: 77px;

    box-shadow: 0px 0px 33px #d16aff;

    border-radius: 50%;

}

.speed-worker-container {

    display: flex;

    align-items: center;

    gap: 15px; /* Space between image and heading */

}

.speed-text {

    color: #fff;

    margin: 0;

    font-size: 18px;

}



/* Responsive breakpoints */

@media (max-width: 1024px) {

    .cache-me-baby-main-content {

        width: 65%;

    }

    .cache-me-baby-sidebar {

        width: 32%;

    }

    .cache_me_baby_settings_area {

    display: block !important;

}

}



@media (max-width: 768px) {

    .cache-me-baby-container {

        flex-direction: column;

    }

    .cache-me-baby-main-content,

    .cache-me-baby-sidebar {

        width: 97%;

    }

    .cache-me-baby-sidebar {

        margin-top: 20px;

    }

}