/* General modal styling */
.nc-modal {
    display: none; 
    position: fixed; 
    z-index: 999999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
}

.nc-modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 30px 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.nc-close {
    color: #17549A;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.nc-close:hover,
.nc-close:focus {
    color: #0d3463;
    text-decoration: none;
    cursor: pointer;
}

.nc-desc {
    font-size: 14px;
    margin-bottom: 20px;
    color: #222;
}

.nc-policy-link {
    font-size: 14px;
    margin-bottom: 30px;
    color: #222;
}

.nc-policy-link a {
    color: #1a73e8;
    text-decoration: underline;
}

/* Accordions */
.nc-accordions {
    border-top: 1px solid #ddd;
}

.nc-accordion-item {
    border-bottom: 1px solid #ddd;
    padding: 0;
}

.nc-accordion-header {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px 0;
    cursor: pointer;
}

.nc-arrow {
    margin-right: 15px;
    font-size: 12px;
    color: #333;
    font-weight: bold;
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.nc-accordion-item.active .nc-arrow {
    transform: rotate(180deg);
}

.nc-title {
    font-size: 15px;
    font-weight: normal;
    color: #222;
    flex-grow: 1;
}

.nc-accordion-body {
    display: none;
    padding: 0 0 15px 25px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.nc-status {
    font-size: 14px;
}

.always-active {
    color: #1a73e8;
}

/* Switch styling */
.nc-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.nc-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.nc-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.nc-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .nc-slider {
    background-color: #2a5d7c;
}

input:focus + .nc-slider {
    box-shadow: 0 0 1px #2a5d7c;
}

input:checked + .nc-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
    background-color: #f7941d;
}

.nc-slider.round {
    border-radius: 34px;
}

.nc-slider.round:before {
    border-radius: 50%;
}

/* Footer / Save Button */
.nc-modal-footer {
    margin-top: 30px;
}

.nc-save-btn {
    background-color: #1773ba;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.nc-save-btn:hover {
    background-color: #11578e;
}

/* Floating Button styling */
.nc-floating-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ffffff;
    color: #1a73e8;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    z-index: 999998;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.nc-floating-btn:hover {
    background-color: #f9f9f9;
}

/* Bottom Banner styling */
.nc-bottom-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fefefe;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999997;
    font-family: Arial, sans-serif;
}

.nc-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.nc-bottom-text {
    flex: 1 1 60%;
    font-size: 14px;
    color: #333;
    margin-right: 20px;
    line-height: 1.5;
}

.nc-bottom-text p {
    margin: 0;
}

.nc-bottom-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 15px;
    align-items: center;
}

.nc-banner-settings-btn {
    background: none;
    border: none;
    color: #1a73e8;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.nc-banner-settings-btn:hover {
    color: #0d3463;
}

.nc-banner-accept-btn {
    background-color: #1773ba;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

.nc-banner-accept-btn:hover {
    background-color: #11578e;
}

/* Media Query for mobile banner */
@media screen and (max-width: 768px) {
    .nc-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .nc-bottom-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
