﻿.ng-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    animation: fadeIn 0.15s ease-out;
}

.ng-modal {
    background: #181818;
    padding: 20px 24px;
    border-radius: 10px;
    min-width: 380px;
    max-width: 90vw;
    animation: scaleIn 0.15s ease-out;
    color: white;
}

.ng-modal-title {
    margin-bottom: 15px;
}

.ng-input,
.ng-textarea {
    width: 100%;
    background: #222;
    border: 1px solid #333;
    padding: 8px;
    border-radius: 6px;
    color: white;
}

    .ng-input:focus,
    .ng-textarea:focus {
        border-color: #1db954;
        outline: none;
    }

.ng-modal-buttons {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
