/* Report Page Styles - Part 1: Main Layout and Header */

/* Main container */
.report-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Report header */
.report-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.report-header-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.15;
    border-radius: 50%;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background-color: #ffffff;
    top: -30px;
    left: -30px;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    bottom: -20px;
    right: 10%;
}

.shape-3 {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    top: 30%;
    right: 20%;
}

.report-header h1 {
    font-size: 2.2rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.report-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 25px;
    position: relative;
    z-index: 1;
    padding: 10px;
}

.report-date {
    font-size: 0.95rem;
    opacity: 0.9;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.report-date i {
    font-size: 0.9rem;
}

.refresh-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.refresh-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.refresh-btn i {
    font-size: 1rem;
}

/* Section divider */
.section-divider {
    height: 20px;
    width: 100%;
    clear: both;
}

/* Website screenshot */
.website-screenshot {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.website-screenshot h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.screenshot-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 600px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.screenshot-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
    object-fit: contain;
    max-height: 550px;
}

.screenshot-img:hover {
    transform: scale(1.02);
}

.screenshot-img.error {
    object-fit: cover;
    height: 400px;
    opacity: 0.7;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    justify-content: center;
    z-index: 2;
}

.screenshot-caption {
    position: relative;
    background-color: #f8f9fa;
    padding: 10px 15px;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.caption-text {
    display: inline-block;
}

.visit-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.visit-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.visit-btn:active {
    transform: translateY(0);
}

.no-screenshot {
    background-color: #f8f9fa;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border-radius: 8px;
    text-align: center;
    padding: 20px;
}

.no-screenshot i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #adb5bd;
}

.no-screenshot p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.no-screenshot small {
    opacity: 0.8;
    margin-bottom: 20px;
}

.refresh-screenshot-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.refresh-screenshot-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}