.js-lcc-active {
    overflow: hidden;
}

[class^=lcc-] {
    box-sizing: border-box !important;
    color: #111;
    font-size: 16px;
    line-height: 22px;
}

[class^=lcc-]:first-child {
    margin-top: 0;
}

[class^=lcc-]:last-child {
    margin-bottom: 0;
}

[class^=lcc-][inert] {
    cursor: default;
    pointer-events: none;
}

[class^=lcc-][inert],
[class^=lcc-][inert] * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.lcc-text {
    font-size: 16px;
    margin: 0 0 22px;
}

/* Updated button styles */
.lcc-button {
    background-color: #28a745; /* Green background */
    border: 1px solid #28a745; /* Green border */
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: inherit;
    margin: 1px 0;
    padding: 6px 15px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.lcc-button:focus, .lcc-button:hover {
    background: #218838; /* Darker green on hover */
    border-color: #218838;
}

.lcc-button.lcc-button--ghost {
    background: transparent;
    border: 1px solid #28a745; /* Green border for ghost button */
    color: #28a745;
}

.lcc-button.lcc-button--ghost:focus, .lcc-button.lcc-button--ghost:hover {
    background: #218838;
    border-color: #218838;
    color: #fff;
}

.lcc-button.lcc-button--link {
    background: transparent;
    border-color: transparent;
    color: inherit;
    padding-left: 0;
    padding-right: 0;
    text-decoration: underline;
}

.lcc-button.lcc-button--link:focus, .lcc-button.lcc-button--link:hover {
    background: transparent;
    border-color: transparent;
    text-decoration: none;
}

.lcc-label {
    align-items: baseline;
    display: flex;
    font-weight: 600;
    margin-bottom: 5px;
}

.lcc-label[for] {
    cursor: pointer;
}

.lcc-label>* {
    margin-right: 10px;
}

input[id^=lcc-]:disabled {
    color: #555;
    cursor: default;
    opacity: .55;
}

input[id^=lcc-]:disabled+span {
    cursor: default;
    opacity: .6;
}

.lcc-backdrop {
    background: rgba(0, 0, 0, .6);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 10000;
}

/* Modal styles with rounded corners */
.lcc-modal {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    left: 50%;
    max-height: 90%;
    max-width: 90%;
    overflow: auto;
    padding: 30px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 475px;
    z-index: 10001;
    border-radius: 12px; /* Rounded edges */
}

.lcc-modal .lcc-modal__close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 24px;
    line-height: 1.25;
    position: absolute;
    right: 0;
    top: 0;
    transition: color 0.2s ease;
    width: 30px;
}

.lcc-modal .lcc-modal__close:focus, .lcc-modal .lcc-modal__close:hover {
    color: #555;
}

.lcc-modal .lcc-modal__title {
    font-size: 22px;
    margin-bottom: 1em;
}

.lcc-modal .lcc-modal__section {
    margin-bottom: 20px;
}

.lcc-modal .lcc-modal__section .lcc-text {
    margin-left: 24px;
}

.lcc-modal .lcc-modal__actions {
    margin-top: 30px;
}

.lcc-modal .lcc-modal__actions-center {
    display: flex;
    justify-content: center;
}

.lcc-modal .lcc-modal__actions>* {
    display: block;
    margin-top: 8px;
}

.lcc-modal.lcc-modal--settings {
    z-index: 10002;
}

.lcc-u-sr-only {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.lcc-u-text-center {
    text-align: center !important;
}
