@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}


html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

main {
    flex: 1;
}

.navbar {
    background: #34495e;
    color: #fff;
    padding: 10px 0;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ecf0f1;
    text-decoration: none;
}
.navbar .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.navbar .nav-links li {
    margin-left: 20px;
}
.navbar .nav-links li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}
.navbar .nav-links li a:hover {
    color: #bdc3c7;
}

.main {
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer {
    background: #34495e;
    color: #ecf0f1;
    padding: 15px 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #bdc3c7;
    text-decoration: underline;
}


.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden; /* ensures rounded corners clip the children */
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card > * {
    padding: 25px;
}

.card-header {
    border-bottom: 1px solid #eee;
}

.card h1,
.card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
}


.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 4px rgba(52, 152, 219, 0.3);
    outline: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary {
    background-color: #3498db;
    color: #fff;
}
.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}
.btn-secondary {
    background-color: #95a5a6;
    color: #fff;
}
.btn-secondary:hover {
    background-color: #7f8c8d;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.table th,
.table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}
.table th {
    background-color: #f5f5f5;
    font-weight: 600;
}
.table tbody tr:hover {
    background-color: #f9f9f9;
}

.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
}
.alert-danger {
    background-color: #f2dede;
    color: #a94442;
}

.content-manager {
    max-width: 100%;
}

.checkbox-group .form-check,
.checkbox-group .form-check-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}
.checkbox-group .form-check label,
.checkbox-group .form-check-inline label {
    margin-left: 5px;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    .navbar .nav-links li {
        margin: 5px 0;
    }
}


.login-card {
    max-width: 400px;
    margin: 40px auto;
}

/* public/css/reports.css */
.nav-tabs {
    margin-bottom: 20px;
}
.nav-tabs .btn {
    margin-right: 10px;
}
.media-container {
    position: relative;
    padding-right: 70px;
    margin-bottom: 15px;
}
.media-files {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.media-item {
    display: inline-block;
    margin-right: 15px;
    text-align: center;
}
.media-preview {
    max-width: 250px;
    max-height: 200px;
    display: block;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.media-actions {
    margin-top: 5px;
}
.individual-download {
    text-decoration: none;
    color: inherit;
}
.download-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.bulk-download-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.bulk-download {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bulk-download-icon {
    width: 36px;
    height: 36px;
    cursor: pointer;
}
.report-actions {
    margin-top: 15px;
}


