﻿.new-report-page {
    min-height: auto;
    display: flex;
    justify-content: center;
    padding: 24px;
}

.new-report-card {
    width: 100%;
    max-width: 680px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-sizing: border-box;
}

.new-report-header {
    margin-bottom: 22px;
}

    .new-report-header h1 {
        margin: 0;
        color: var(--text-main);
        font-size: 28px;
        font-weight: 800;
    }

    .new-report-header p {
        margin: 6px 0 0;
        color: var(--text-muted);
    }

.new-report-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

    .form-group label {
        color: var(--text-main);
        font-weight: 700;
        font-size: 14px;
    }

    .form-group select {
        width: 100%;
        height: 46px;
    }

.new-report-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.report-alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: var(--input-bg);
}

.report-loading-box {
    min-height: 140px;
    display: grid;
    place-items: center;
    gap: 12px;
    color: var(--text-main);
}

.report-spinner,
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: report-spin .8s linear infinite;
}

.btn-spinner {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

button:disabled {
    opacity: .7;
    cursor: not-allowed;
}

@keyframes report-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .new-report-page {
        padding: 12px;
    }

    .new-report-card {
        max-width: 100%;
        padding: 18px;
    }

    .new-report-actions button {
        width: 100%;
    }
}
