/* Basic styling */
[class^=lcc-] {
    box-sizing: border-box !important;
    font-size: 16px;
    line-height: 22px;
}

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

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

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

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

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

/* Label + Input */
.lcc-label {
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
}
.lcc-label[for] {
    cursor: pointer;
}
.lcc-label > * {
    margin-right: 10px;
}

input[id^=lcc-]:disabled {
    cursor: default;
    color: #777;
    opacity: 0.55;
}
input[id^=lcc-]:disabled + span {
    cursor: default;
    opacity: 0.6;
}

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

/* Modal */
.lcc-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 475px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    padding: 30px;
}
.lcc-modal .lcc-modal__title {
    font-size: 22px;
}
.lcc-modal .lcc-modal__section {
    margin-bottom: 20px;
}
.lcc-modal .lcc-modal__actions {
    margin-top: 30px;
}
.lcc-modal .lcc-modal__actions > * {
    display: block;
    margin-top: 8px;
}

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

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

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