﻿/* wwwroot/css/ReportsPage.css */

/* Report container styles */
.reports-container {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Report header styles */
.reports-header {
    margin-bottom: 20px;
}

.reports-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

/* Report form styles */
.report-form {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
}

/* Select dropdown styles */
.report-select {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .report-select:focus {
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

/* Parameters section styles */
.parameters-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.parameters-title {
    font-size: 18px;
    color: #495057;
    margin-bottom: 15px;
}

/* Button styles */
.report-button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

    .report-button:hover {
        background-color: #0069d9;
        border-color: #0062cc;
    }

    .report-button:focus {
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

/* Results section styles */
.results-section {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Loading indicator styles */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

    .loading-spinner.active {
        display: block;
    }

/* Error message styles */
.error-message {
    color: #dc3545;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    background-color: #f8d7da;
}

/* Success message styles */
.success-message {
    color: #28a745;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    background-color: #d4edda;
}

/* Responsive styles */
@media (max-width: 768px) {
    .reports-container {
        padding: 10px;
    }

    .report-form {
        padding: 15px;
    }

    .reports-title {
        font-size: 20px;
    }
}
