/**
 * Report Form Styles
 */

.report-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.report-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fefefe;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

.report-modal.show .report-modal-content {
    transform: translateY(0);
}

.report-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.report-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-report-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-report-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.report-modal-body {
    padding: 30px;
}

.report-form .form-group {
    margin-bottom: 20px;
}

.report-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.report-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.report-form .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.report-form .form-control:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    border-color: #e9ecef;
}

.report-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.report-form select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.report-form .btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.report-form .btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.report-form .btn-submit:active {
    transform: translateY(0);
}

.report-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.report-link-btn {
    background: none;
    color: #dc3545;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: underline;
    display: inline-block;
    text-align: center;
}

.report-link-btn:hover {
    background: none;
    color: #a71e2c;
    text-decoration: underline;
    transform: translateY(-1px);
}

.report-link-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .report-modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .report-modal-body {
        padding: 20px;
    }

    .report-modal-header {
        padding: 15px;
    }

    .report-modal-header h3 {
        font-size: 1.3rem;
    }
}

@media (prefers-color-scheme: dark) {
    .report-modal-content {
        background-color: #2d3748;
        color: #e2e8f0;
    }

    .report-form label {
        color: #e2e8f0;
    }

    .report-form .form-control {
        background-color: #4a5568;
        border-color: #4a5568;
        color: #e2e8f0;
    }

    .report-form .form-control:focus {
        border-color: #667eea;
        background-color: #4a5568;
    }

    .report-form .form-control:disabled {
        background-color: #2d3748;
        color: #a0aec0;
        border-color: #4a5568;
    }
}
