
:root {
    --cb: #4caf50;
}

.lm-demo {
    padding: 0;
    height: 100vh;
}

.lm-demo-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 0;
    height: 100%;
}

.lm-demo-grid-left {
    border-right: 1px solid #e5e7eb;
    padding: 20px;
    overflow-y: auto;
}

.lm-demo .lm-new-event {
    width: 100%;
    padding: 12px 20px;
    background: #1967D2;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(25, 103, 210, 0.3);
    transition: all 0.2s;
}

.lm-demo button i {
    font-size: 20px;
}

.lm-demo-category {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: background 0.2s;
}

.lm-demo-category i {
    font-size: 18px;
    margin: 0 8px;
}

.lm-demo-category span {
    font-size: 14px;
}

.lm-demo-category-count {
    font-size: 12px;
    background: #f1f3f4;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.lm-demo-tip {
    margin-top: 40px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    color: #5f6368;
    line-height: 1.6;
}

.lm-demo-content {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lm-demo-container {
    flex: 1;
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lm-demo-controls {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.lm-demo-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lm-demo-controls-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lm-demo-btn {
    border: 1px solid #dadce0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lm-demo-btn:hover {
    background: #f8f9fa;
}

.lm-demo-btn-icon {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-demo-btn-text {
    padding: 8px 16px;
    font-weight: 500;
    color: #202124;
}

.lm-demo-radio-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.lm-demo-radio-btn input {
    display: none;
}

.lm-demo-radio-btn span {
    border: 1px solid #dadce0;
    background: white;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    transition: all 0.2s;
}

.lm-demo-radio-btn span:hover {
    background: #f8f9fa;
}

.lm-demo-radio-btn input:checked + span {
    background: #1967D2;
    color: white;
    border-color: #1967D2;
}

.lm-demo-radio-btn input:checked + span:hover {
    background: #1557b0;
}

.lm-demo-btn i {
    font-size: 20px;
    color: #5f6368;
}

.lm-demo-divider {
    width: 1px;
    height: 24px;
    background: #dadce0;
    margin: 0 8px;
}

.lm-chk {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.lm-chk input {
    display: none;
}

.lm-chk span {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dadce0;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
}

.lm-chk input:checked + span {
    background: var(--cb);
    border-color: var(--cb);
}

.lm-chk input:checked + span::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
