/* SIMPLE MODAL - GUARANTEED TO WORK */

.simple-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999998;
    backdrop-filter: blur(2px);
}

.simple-modal-backdrop.show {
    display: block;
}

.simple-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    background: #2d2f31;
    border: 1px solid #35383b;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    z-index: 999999;
    overflow: hidden;
    flex-direction: column;
}

.simple-modal.show {
    display: flex;
}

.simple-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #35383b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.simple-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #e8eaed;
}

.simple-modal-close {
    background: none;
    border: none;
    color: #9aa0a6;
    font-size: 28px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
}

.simple-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e8eaed;
}

.simple-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.simple-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #35383b;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

/* Scrollbar for modal body */
.simple-modal-body::-webkit-scrollbar {
    width: 8px;
}

.simple-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.simple-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.simple-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

