/* Just Now - Admin Settings Styles */

/* Main settings container card */
.jnp-settings-wrap {
    background-color: #ffffff;
    border: 1px solid #e9e9e9;
    padding: 10px 30px 30px;
    margin-top: 20px;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.jnp-settings-wrap h1 {
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f1;
    margin-bottom: 20px;
}

/* Style the form table for better spacing */
.jnp-settings-wrap .form-table {
    border: none;
}

.jnp-settings-wrap .form-table th {
    font-weight: 500;
    padding-left: 0;
    width: 200px;
}

.jnp-settings-wrap .form-table td {
    padding-left: 10px;
}

.jnp-settings-wrap .form-table tr {
    border-bottom: 1px solid #f0f0f1;
}
.jnp-settings-wrap .form-table tr:last-child {
    border-bottom: none;
}


/* -- Toggle Switch CSS -- */
.jnp-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
}

/* Hide default HTML checkbox */
.jnp-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider track */
.jnp-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 30px;
}

/* The slider knob */
.jnp-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

/* 'On' state styling */
input:checked + .jnp-slider {
    background-color: #ff9101; /* Accent Color for 'ON' state */
}

input:focus + .jnp-slider {
    box-shadow: 0 0 1px #ff9101;
}

input:checked + .jnp-slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

/* -- Primary Button Styling -- */
.jnp-settings-wrap .button-primary {
    background: #2977cb;
    border-color: #2977cb;
    padding: 8px 25px;
    height: auto;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

.jnp-settings-wrap .button-primary:hover {
    background: #1f64ad;
    border-color: #1f64ad;
}

.jnp-settings-wrap .button-primary:active {
    transform: translateY(1px);
}