/* Report Page Styles - Part 6: Forms and Ads */

/* ============================================
   MODERN SUBMIT REVIEW FORM - REDESIGNED
   ============================================ */

.submit-review {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.submit-review h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 28px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1a1a1a;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
}

.form-control::placeholder {
    color: #adb5bd;
    opacity: 1;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

/* Modern Rating Input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    padding: 8px 0;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 2.25rem;
    color: #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 4px;
    border-radius: 4px;
}

.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-input input:checked ~ label {
    color: #ffc107;
}

.rating-input input:checked + label ~ label {
    color: #dee2e6;
}

/* Submit Button - Modern Design */
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    letter-spacing: -0.01em;
    width: 100%;
    max-width: 300px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Custom ad section */
.custom-ad-section {
    margin: 30px 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ad-container {
    padding: 20px;
    min-height: 100px;
}

.no-ad-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #7f8c8d;
}

.top-ad {
    margin-top: 20px;
    margin-bottom: 30px;
}

.bottom-ad {
    margin-top: 30px;
}

.inline-ad-container {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .submit-review {
        padding: 24px;
        margin-top: 32px;
    }
    
    .submit-review h3 {
        font-size: 1.375rem;
        margin-bottom: 24px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .rating-input label {
        font-size: 2rem;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 100%;
    }
    
    .report-header h1 {
        font-size: 1.8rem;
    }
    
    .score-section,
    .report-details {
        flex-direction: column;
    }
    
    .score-summary {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
    }
    
    .points-column {
        min-width: 100%;
    }
    
    .facts-container,
    .scam-directory-section {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .submit-review {
        padding: 20px;
        border-radius: 12px;
    }
    
    .submit-review h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .form-control {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .rating-input label {
        font-size: 1.75rem;
    }
    
    .submit-btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
    
    .report-container {
        padding: 15px;
    }
    
    .report-header {
        padding: 20px 15px;
    }
    
    .report-header h1 {
        font-size: 1.5rem;
    }
    
    .report-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .score-display {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
}

/* ============================================
   RECENTLY ANALYZED WEBSITES GRID SECTION
   ============================================ */

.recent-websites-grid-section {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.recent-websites-grid-header {
    text-align: center;
    margin-bottom: 32px;
}

.recent-websites-grid-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.recent-websites-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.recent-websites-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.recent-website-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.recent-website-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.website-card-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    background-color: #f1f3f5;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.website-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.website-card-thumbnail img.lazy-load-image {
    opacity: 0;
    background: linear-gradient(135deg, #e9ecef 0%, #f1f3f5 100%);
}

.website-card-thumbnail img.loaded {
    opacity: 1;
}

.website-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #f1f3f5 100%);
    color: #adb5bd;
    font-size: 2.5rem;
    position: absolute;
    top: 0;
    left: 0;
}

.website-card-placeholder.lazy-placeholder {
    display: flex;
}

.website-card-score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.website-card-score-badge.high {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.website-card-score-badge.medium {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.website-card-score-badge.low {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.website-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.website-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.website-card-domain {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    word-break: break-word;
}

.website-card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

.website-card-status.safe {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.website-card-status.scam {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.website-card-status i {
    font-size: 0.875rem;
}

.website-card-domain-full {
    font-size: 0.8125rem;
    color: #6c757d;
    margin: 0 0 12px 0;
    line-height: 1.4;
    word-break: break-word;
}

.website-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.website-card-date {
    font-size: 0.8125rem;
    color: #adb5bd;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .recent-websites-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .recent-websites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .recent-websites-grid-section {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .recent-websites-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .recent-websites-grid-section {
        padding: 24px;
        margin-top: 30px;
    }
    
    .recent-websites-grid-header h2 {
        font-size: 1.625rem;
    }
    
    .website-card-thumbnail {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .recent-websites-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .recent-websites-grid-section {
        padding: 20px;
        border-radius: 12px;
    }
    
    .recent-websites-grid-header h2 {
        font-size: 1.5rem;
    }
    
    .recent-websites-subtitle {
        font-size: 0.9375rem;
    }
    
    .website-card-thumbnail {
        height: 180px;
    }
    
    .website-card-content {
        padding: 14px;
    }
    
    .website-card-domain {
        font-size: 0.9375rem;
    }
    
    .website-card-status {
        font-size: 0.6875rem;
        padding: 3px 8px;
    }
}
