﻿/* Global styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    justify-content: flex-start; /* Align content closer to the top */
    align-items: center;
    min-height: 100vh;
    text-align: center;
    flex-direction: column;
}

/* General container styles */
.container {
    max-width: 800px;
    width: 90%;
    margin-top: 100px; /* Move card down slightly from the top */
    padding: 30px;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.3s;
}

    /* Hover effect: only the shadow changes */
    .container:hover {
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    }

/* Header styles */
.header {
    margin-bottom: 20px;
}

/* Logo styles */
.logo {
    max-width: 250px; /* Default size */
    height: auto;
    margin-bottom: 15px;
}

/* Title styles */
h1 {
    font-size: 2rem;
    color: #8fb4c1;
    margin-bottom: 15px;
}

/* Subtitle styles */
h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #444;
}

/* Table styles for available files */
.file-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .file-table td,
    .file-table tr {
        border: 1px solid #eef; /* Faint border around all cells */
        padding: 15px;
        text-align: left;
        cursor: pointer; /* Make the row clickable */
        transition: background-color 0.3s;
    }

        .file-table tr:hover {
            background-color: #8fb4c1; /* Subtle hover effect */
            color: #ffff;
        }

/* Responsive Design: Small Screens (e.g., mobile) */
@media (max-width: 768px) {
    body {
        justify-content: flex-start;
        align-items: stretch;
        padding: 10px;
        min-height: auto;
    }

    .container {
        max-width: 100%;
        margin-top: 20px;
        padding: 20px; /* Reduced padding for smaller screens */
        box-shadow: none;
    }

    .logo {
        max-width: 150px;
        margin-bottom: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .file-table td {
        padding: 12px; /* Slightly smaller padding on mobile */
    }
}
