/* Refund Report System - Frontend Styles */

.rrs-submission-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rrs-submission-form h2 {
    margin: 0 0 30px 0;
    color: #2c3e50;
    font-size: 28px;
}

.rrs-selected-business {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.rrs-selected-business p {
    margin: 0;
    color: #2c3e50;
    font-size: 16px;
}

.rrs-selected-business strong {
    color: #3498db;
}

.rrs-form-group {
    margin-bottom: 20px;
}

.rrs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .rrs-form-row {
        grid-template-columns: 1fr;
    }
}

.rrs-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.rrs-form-group input[type="text"],
.rrs-form-group input[type="email"],
.rrs-form-group input[type="number"],
.rrs-form-group select,
.rrs-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.rrs-form-group input:focus,
.rrs-form-group select:focus,
.rrs-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.rrs-form-notice {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.rrs-form-notice p {
    margin: 0;
    color: #666;
}

.rrs-form-submit {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rrs-submit-btn {
    padding: 14px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.rrs-submit-btn:hover {
    background: #2980b9;
}

.rrs-submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.rrs-loading {
    color: #7f8c8d;
    font-style: italic;
}

.rrs-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

.rrs-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.rrs-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.rrs-message p {
    margin: 0;
}

/* Business Card */
.rrs-business-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.rrs-business-card h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
}

.rrs-rating {
    margin: 10px 0;
    font-size: 18px;
}

.rrs-stars {
    color: #f39c12;
}

.rrs-average {
    font-weight: bold;
    margin: 0 5px;
}

.rrs-count {
    color: #7f8c8d;
    font-size: 14px;
}

.rrs-button {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background 0.2s;
}

.rrs-button:hover {
    background: #2980b9;
}

/* Reports List */
.rrs-reports-list {
    list-style: none;
    padding: 0;
}

.rrs-reports-list li {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.rrs-reports-list li:last-child {
    border-bottom: none;
}

.rrs-report-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.rrs-report-meta {
    color: #7f8c8d;
    font-size: 14px;
}

/* Reports List Display */
.rrs-reports-list {
    margin: 20px 0;
}

.rrs-report-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}

.rrs-report-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rrs-report-title {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.rrs-report-title a {
    color: #2c3e50;
    text-decoration: none;
}

.rrs-report-title a:hover {
    color: #3498db;
}

.rrs-verified {
    display: inline-block;
    background: #00a32a;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: normal;
}

.rrs-report-rating {
    margin: 8px 0;
    font-size: 18px;
}

.rrs-report-meta {
    color: #7f8c8d;
    font-size: 14px;
    margin: 10px 0;
}

.rrs-report-business {
    margin-right: 15px;
}

.rrs-report-business a {
    color: #3498db;
    text-decoration: none;
}

.rrs-report-business a:hover {
    text-decoration: underline;
}

.rrs-report-date {
    color: #95a5a6;
}

.rrs-report-excerpt {
    color: #555;
    line-height: 1.6;
    margin: 12px 0;
}

.rrs-read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
}

.rrs-read-more:hover {
    color: #2980b9;
    text-decoration: underline;
}

.rrs-no-reports {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
