/* ===== Overlay ===== */
#scm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

/* ===== Modal ===== */
.scm-modal {
    background: #fff;
    max-width: 480px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    max-height: 90vh;
    overflow-y: auto;
}

#scm-initial {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    z-index: 100001;
    border-radius: 0;
    box-shadow: none;
    background: #f7f6f3;
    padding: 20px;
    display: none;
}

@media (max-width: 767px) {
    #scm-initial {
        padding: 15px;
    }
}

#scm-settings-modal {
    max-width: 720px;
}

/* ===== Buttons & Links ===== */
.scm-modal button {
    width: 100%;
    margin-top: 15px;
}
.scm-modal a {
    display: block;
    margin-top: 12px;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

/* ===== Categories ===== */
.scm-category {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}
.scm-category h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: auto;
    text-transform: unset;
    letter-spacing: unset;
    cursor: pointer;
}
.toggle-arrow {
    margin-left: 10px;
    font-size: 14px;
}
.services-container {
    margin-top: 10px;
}
.scm-service {
    margin-top: 10px;
    padding-left: 15px;
    font-size: 14px;
    display: flex;
  border-top: 1px solid #ddd;
  padding-top: 1em;
  display: flex;
justify-content: space-between;
}

.scm-service small a {
    font-size: unset;
  text-align: unset;
  text-decoration: underline;
  margin: unset;
}
.scm-service small {
    display: block;
    color: #555;
}
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin: 5px 0;
}
.service-arrow {
    font-size: 12px;
}
.service-details {
    margin-left: 15px;
}
.scm-service a {
    display: block;
    color: #555;
    text-decoration: none;
}

/* ===== Placeholder ===== */
.scm-placeholder {
    background: #f5f3f0;
    padding: 20px;
    text-align: center;
}
.scm-placeholder a {
    display: inline-block;
    margin-top: 0px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== Toggle Switch ===== */
.toggle {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 10px;
    float: right;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 22px;
    background-color: #ccc;
    transition: .4s;
    border-radius: 22px;
    margin-right: 10px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--yellow);
}

input:checked + .slider:before {
    transform: translateX(27px);
}

.toggle:disabled .slider {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ===== Category Toggle ===== */
.category-toggle .slider {
    width: 50px;
    height: 22px;
}

.category-toggle .slider:before {
    height: 16px;
    width: 16px;
}

.category-toggle input:checked + .slider:before {
    transform: translateX(27px);
}

.scm-btn-wrap {
    display: flex;
    gap:10px;
    margin-top:2em;
}

.scm-initial {
    font-size: 80%;
    margin-top: 2em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Banner Layout */
.scm-banner-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scm-banner-text a {
    text-align: left;
}

@media (max-width: 767px) {
    .scm-btn-wrap {
        margin-top: 1em;
    }
}

@media (min-width: 768px) {
    .scm-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .scm-banner-text {
        flex: 0 1 60%;
        padding-right: 50px;
    }
    
    #scm-initial .scm-btn-wrap {
        flex-direction: row;
        margin-top: 0;
        flex: 0 1 40%;
    }
}

/* Accept Button Styling */
.scm-btn-accept {
    color: var(--yellow) !important;
    background: var(--couch) !important;
}

