/* Custom Modal System */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    min-width: 350px;
    max-width: 500px;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-modal-header {
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
    color: var(--accent);
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-modal-body {
    padding: 24px;
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
}

.custom-modal-input {
    width: 100%;
    padding: 12px 16px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    margin-top: 12px;
    transition: all 0.2s;
}

.custom-modal-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.custom-modal-footer {
    padding: 16px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #0a0a0a;
    border-top: 1px solid #333;
}

.custom-modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-modal-btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #d67700 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.custom-modal-btn-primary:hover {
    background: linear-gradient(135deg, #ffaa33 0%, #ff9800 100%);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.5);
    transform: translateY(-1px);
}

.custom-modal-btn-secondary {
    background: #222;
    color: #ccc;
    border: 1px solid #444;
}

.custom-modal-btn-secondary:hover {
    background: #2a2a2a;
    color: #fff;
    border-color: #555;
}
