/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.close-btn:hover {
    color: white;
}

.modal-body {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-body strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Dialog Modal */
.dialog-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.dialog-message {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.5;
}

.dialog-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.dialog-input:focus {
    outline: none;
    border-color: #8b00ff;
    box-shadow: 0 0 0 2px rgba(139, 0, 255, 0.2);
}

.dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.dialog-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dialog-btn-primary {
    background: linear-gradient(135deg, #6b46c1, #7c3aed);
    color: white;
}

.dialog-btn-primary:hover {
    background: linear-gradient(135deg, #9f00ff, #5d00b7);
}

.dialog-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dialog-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dialog-btn-danger {
    background: #dc3545;
    color: white;
}

.dialog-btn-danger:hover {
    background: #c82333;
}
