/* =====================
   MODAL STYLES
   ===================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #2d2d30;
    border: 1px solid #3e3e42;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #3e3e42;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #3e3e42;
    color: #ffffff;
}

.modal-body {
    padding: 24px;
}

.modal-body input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 2px solid #3e3e42;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #1e1e1e;
    color: #ffffff;
}

.modal-body input[type="text"]:focus {
    border-color: #0e639c;
}

.modal-hint {
    margin-top: 12px;
    font-size: 13px;
    color: #b0b0b0;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #3e3e42;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-footer button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-cancel {
    background: #3c3c3c;
    color: #cccccc;
}

.btn-cancel:hover {
    background: #505050;
}

.btn-primary {
    background: #0e639c;
    color: white;
}

.btn-primary:hover {
    background: #1177bb;
}