﻿/* Basic styling for overlay and inputs */
.nxtgn-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.nxtgn-label {
    font-weight: 600;
}

.nxtgn-input-with-icon {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem;
    align-items: center;
}

.nxtgn-text {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.nxtgn-icon-btn {
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
}

.nxtgn-thumb {
    margin-top: 0.25rem;
}

    .nxtgn-thumb img {
        max-width: 200px;
        max-height: 120px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }

.nxtgn-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.nxtgn-modal {
    background: #fff;
    width: min(92vw, 720px);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    position: relative;
}

.nxtgn-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.nxtgn-video {
    width: 100%;
    background: #000;
    border-radius: 10px;
}

.nxtgn-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.nxtgn-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.nxtgn-primary {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
}

.nxtgn-secondary {
    background: #f3f4f6;
    color: #111;
    border: 1px solid #e5e7eb;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
}

.nxtgn-tip {
    color: #6b7280;
    font-size: 0.9rem;
}
