/*
Theme Name: PhotoMap Theme
Description: A WordPress theme for displaying geotagged photos on interactive maps with upload functionality
Version: 1.0
Author: PhotoMap
*/

/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: relative;
    z-index: 1002;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    margin: 0;
    padding: 0 20px;
    font-size: 1.5rem;
    color: #333;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.main-navigation {
    padding: 0 20px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.nav-menu a:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Map Styles */
#map {
    height: calc(100vh - 160px); /* Account for header (80px) and footer (80px) */
    width: 100%;
    transition: width 0.3s ease;
}

.photo-popup {
    max-width: 350px;
    min-width: 250px;
}

.photo-popup img {
    max-width: 100% !important;
    max-height: 250px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    display: block;
}

/* Custom popup styling */
.leaflet-popup.custom-popup .leaflet-popup-content-wrapper {
    max-width: 400px !important;
    padding: 0;
}

.leaflet-popup.custom-popup .leaflet-popup-content {
    margin: 0;
    padding: 15px;
    max-width: 400px;
    overflow: hidden;
}

/* Mobile responsive popup */
@media (max-width: 768px) {
    .photo-popup {
        max-width: 280px;
        min-width: 200px;
    }
    
    .photo-popup img {
        max-height: 180px;
    }
    
    .leaflet-popup.custom-popup .leaflet-popup-content-wrapper {
        max-width: 300px !important;
    }
    
    .leaflet-popup.custom-popup .leaflet-popup-content {
        max-width: 300px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .photo-popup {
        max-width: 250px;
        min-width: 180px;
    }
    
    .photo-popup img {
        max-height: 150px;
    }
    
    .leaflet-popup.custom-popup .leaflet-popup-content-wrapper {
        max-width: 270px !important;
    }
    
    .leaflet-popup.custom-popup .leaflet-popup-content {
        max-width: 270px;
        padding: 8px;
    }
}

/* Timeline popup styling */
.timeline-popup {
    max-width: 350px !important;
    min-width: 250px !important;
    overflow: hidden;
}

.timeline-popup img {
    max-width: 100% !important;
    max-height: 250px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
}

/* TimeMap/OpenLayers popup styling */
.olPopup .olPopupContent,
.olFramedCloudPopupContent {
    max-width: 350px !important;
    overflow: hidden !important;
}

.olPopup .timeline-popup,
.olFramedCloudPopupContent .timeline-popup {
    max-width: 350px !important;
}

/* Timeline mobile responsive */
@media (max-width: 768px) {
    .timeline-popup {
        max-width: 280px !important;
        min-width: 200px !important;
    }
    
    .timeline-popup img {
        max-height: 180px !important;
    }
    
    .olPopup .olPopupContent,
    .olFramedCloudPopupContent {
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .timeline-popup {
        max-width: 250px !important;
        min-width: 180px !important;
    }
    
    .timeline-popup img {
        max-height: 150px !important;
    }
    
    .olPopup .olPopupContent,
    .olFramedCloudPopupContent {
        max-width: 250px !important;
    }
}

.photo-info {
    margin-bottom: 5px;
}

/* Control Buttons */
.top-controls {
    position: absolute;
    top: 90px;
    right: 10px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.control-btn {
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #333;
    cursor: pointer;
    border: none;
    font-size: 14px;
    white-space: nowrap;
}

.control-btn:hover {
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 1001;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 15px;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.photo-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.photo-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.photo-item:hover {
    background-color: #f8f9fa;
}

.photo-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 8px;
}

.photo-item-info {
    font-size: 0.9rem;
}

.photo-item.active {
    border-color: #0d6efd;
    background-color: #e9f0ff;
}

.map-container {
    transition: width 0.3s ease;
}

.map-container.sidebar-open {
    width: calc(100% - 350px);
}

/* Upload Form Styles */
.upload-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.upload-form h2 {
    color: #333;
    margin-bottom: 20px;
}

.upload-form form {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.upload-form input[type="file"] {
    margin: 10px 0;
    display: block;
    width: 100%;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.upload-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.upload-form input[type="submit"]:hover {
    background-color: #45a049;
}

.upload-messages {
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
}

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

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

/* Timeline Styles */
.timemap-container {
    height: calc(100vh - 160px); /* Account for header and footer */
    width: 100%;
}

#timemap {
    height: 100%;
    width: 100%;
}

#mapcontainer {
    height: 60vh;
    width: 100%;
}

#map {
    height: 100%;
    width: 100%;
}

#timelinecontainer {
    height: 20vh;
    width: 100%;
    border-top: 1px solid #ccc;
}

#timeline {
    height: 100%;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 5px;
    }
    
    .sidebar {
        width: 100%;
        right: -100%;
    }
    
    .map-container.sidebar-open {
        width: 100%;
    }
    
    .top-controls {
        flex-direction: column;
        gap: 5px;
    }
    
    .control-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .upload-form {
        margin: 10px;
        padding: 15px;
    }
    
    #mapcontainer {
        height: 60%;
    }
    
    #timelinecontainer {
        height: 40%;
    }
    
    .footer-links {
        margin-bottom: 15px;
    }
    
    .footer-links a {
        display: inline-block;
        margin: 2px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .footer-credits {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* Main content area */
.site-content {
    flex: 1;
    margin: 0;
    padding: 0;
}

/* Sticky Footer Styles */
.site-footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #555;
}

.site-footer a {
    color: #ccc;
    text-decoration: none;
}

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

.site-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
}

.site-info .sep {
    margin: 0 10px;
    color: #666;
}

.footer-links {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-links a {
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.footer-credits {
    font-size: 12px;
    color: #ccc;
}

/* Form button styling */
.top-controls form {
    display: inline;
    margin: 0;
}

.top-controls form button {
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #333;
    cursor: pointer;
    border: none;
    font-size: 14px;
    white-space: nowrap;
}

.top-controls form button:hover {
    background: #f0f0f0;
    color: #333;
}

/* Upload form specific styles */
.photomap-info {
    margin: 15px 0;
    padding: 15px;
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 5px;
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.entry-content {
    margin: 0;
}

/* View switching styles */
.view-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.view-tabs .nav-link {
    color: #666;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.view-tabs .nav-link:hover {
    color: #007cba;
    border-bottom-color: #007cba;
    background-color: transparent;
}

.view-tabs .nav-link.active {
    color: #007cba;
    border-bottom-color: #007cba;
    background-color: transparent;
    font-weight: 600;
}

/* List view styles */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.photo-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.photo-card .photo-image {
    height: 200px;
    overflow: hidden;
}

.photo-card .photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-card .photo-details {
    padding: 15px;
}

.photo-card .photo-details h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    word-break: break-word;
}

.photo-card .photo-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.sort-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.sort-controls label {
    margin-right: 10px;
    font-weight: 500;
    color: #333;
}

.sort-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #333;
    font-size: 14px;
}

/* Timeline view styles */
.timemap-container {
    margin-top: 20px;
    height: calc(100vh - 280px);
    min-height: 600px;
}

#timemap {
    width: 100%;
    height: 100%;
    position: relative;
}

#mapcontainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    border: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
}

#mapcontainer #map {
    width: 100%;
    height: 100%;
    border-radius: 4px 4px 0 0;
}

#timelinecontainer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background: white;
}

#timeline {
    width: 100%;
    height: 100%;
    border-radius: 0 0 4px 4px;
}

/* Hide content based on view */
.view-content {
    display: none;
}

.view-content.active {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .photo-card .photo-image {
        height: 180px;
    }
    
    .view-tabs .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* WooCommerce Integration & User Account Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.user-account-nav {
    margin-left: auto;
}

.user-menu {
    position: relative;
    display: inline-block;
}

.user-greeting {
    cursor: pointer;
    padding: 8px 15px;
    background: #f0f0f0;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s;
}

.user-greeting:hover {
    background: #e0e0e0;
}

.user-greeting i {
    margin-right: 5px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: #f8f8f8;
}

.user-dropdown a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.login-link {
    padding: 8px 15px;
    background: #0073aa;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.login-link:hover {
    background: #005a87;
}

.login-link i {
    margin-right: 5px;
}

/* WooCommerce My Account PhotoMap Styles */
.woocommerce-account .photomap-my-account {
    margin-top: 0;
}

.woocommerce-account .photomap-account-section {
    margin-bottom: 30px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-navigation {
        width: 100%;
        margin-top: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .user-account-nav {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .user-dropdown {
        right: auto;
        left: 0;
    }
}

/* Wide Layout Styles with Bootstrap Integration */
.wide-layout {
    max-width: none;
    width: 100%;
}

.wide-layout .container-fluid {
    padding: 0;
}

.wide-layout .container-xxl {
    max-width: 1400px;
}

.wide-page {
    max-width: none;
    width: 100%;
}

.wide-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.wide-title {
    font-weight: 300;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.wide-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    max-width: none;
    margin: 0;
    padding: 2rem 0;
}

.wide-content h2,
.wide-content h3,
.wide-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.wide-content h2 {
    font-size: 2rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.wide-content h3 {
    font-size: 1.6rem;
}

.wide-content h4 {
    font-size: 1.3rem;
}

.wide-content p {
    margin-bottom: 1.5rem;
}

.wide-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s ease-in-out;
}

.wide-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.wide-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    margin: 30px 0;
    padding: 1.25rem;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.wide-content ul,
.wide-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.wide-content li {
    margin-bottom: 8px;
}

.wide-content table {
    width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.wide-content table:not(.table) {
    border-collapse: collapse;
}

.wide-content th,
.wide-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.wide-content th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    border-top: 0;
}

.wide-content tr:hover {
    background-color: rgba(0, 0, 0, 0.025);
}

/* Bootstrap table integration */
.wide-content .table {
    margin-bottom: 1rem;
}

.wide-content .table-responsive {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.wide-page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: #007cba;
    color: white !important;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid #007cba;
}

.wide-page-links a:hover {
    background: #005a87;
    border-color: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 186, 0.25);
}

.wide-page-links .current {
    background: #6c757d;
    color: white;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    border: 1px solid #6c757d;
}

.wide-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

/* Bootstrap utility overrides for wide layout */
.wide-layout .btn {
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.wide-layout .btn:hover {
    transform: translateY(-1px);
}

.wide-layout .card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.2s ease-in-out;
}

.wide-layout .card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments with Bootstrap breakpoints */
@media (max-width: 1200px) {
    .wide-header {
        padding: 2rem 0 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .wide-header {
        padding: 1.5rem 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .wide-content {
        font-size: 1rem;
        line-height: 1.6;
        padding: 1rem 0;
    }
    
    .wide-content h2 {
        font-size: 1.6rem;
    }
    
    .wide-content h3 {
        font-size: 1.4rem;
    }
    
    .wide-content h4 {
        font-size: 1.2rem;
    }
    
    .wide-page-links a,
    .wide-page-links .current {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .wide-content table th,
    .wide-content table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .wide-content {
        padding: 1rem 0;
    }
    
    .wide-comments {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* Standard Layout Styles with Bootstrap Integration */
.standard-layout {
    background: #fff;
    min-height: calc(100vh - 160px);
}

.standard-page {
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.2s ease-in-out;
}

.standard-page:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.standard-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.standard-title {
    font-weight: 400;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.standard-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

.standard-content h2,
.standard-content h3,
.standard-content h4,
.standard-content h5,
.standard-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 500;
}

.standard-content h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.standard-content h3 {
    font-size: 1.5rem;
}

.standard-content h4 {
    font-size: 1.25rem;
}

.standard-content h5 {
    font-size: 1.125rem;
}

.standard-content h6 {
    font-size: 1rem;
}

.standard-content p {
    margin-bottom: 1rem;
}

.standard-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s ease-in-out;
}

.standard-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.standard-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    font-style: italic;
    border-radius: 0 0.375rem 0.375rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.standard-content ul,
.standard-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.standard-content li {
    margin-bottom: 0.5rem;
}

.standard-content table {
    width: 100%;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.standard-content table:not(.table) {
    border-collapse: collapse;
}

.standard-content th,
.standard-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.standard-content th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    border-top: 0;
}

.standard-content tr:hover {
    background-color: rgba(0, 0, 0, 0.025);
}

/* Bootstrap table integration for standard layout */
.standard-content .table {
    margin-bottom: 1rem;
}

.standard-content .table-responsive {
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.standard-page-links a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0 0.25rem;
    background: #007cba;
    color: white !important;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid #007cba;
    font-size: 0.875rem;
}

.standard-page-links a:hover {
    background: #005a87;
    border-color: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 186, 0.25);
}

.standard-page-links .current {
    background: #6c757d;
    color: white;
    padding: 0.375rem 0.75rem;
    margin: 0 0.25rem;
    border-radius: 0.25rem;
    border: 1px solid #6c757d;
    font-size: 0.875rem;
}

.standard-comments {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* Bootstrap utility overrides for standard layout */
.standard-layout .btn {
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
}

.standard-layout .btn:hover {
    transform: translateY(-1px);
}

.standard-layout .card {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.2s ease-in-out;
}

.standard-layout .card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Standard Layout */
@media (max-width: 992px) {
    .standard-layout .col-lg-8.offset-lg-2 {
        margin-left: auto;
        margin-right: auto;
    }
    
    .standard-page {
        margin: 1rem 0;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .standard-page {
        margin: 0.5rem 0;
        padding: 1rem;
        border-radius: 0.25rem;
    }
    
    .standard-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .standard-title {
        font-size: 1.5rem;
    }
    
    .standard-content {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .standard-content h2 {
        font-size: 1.5rem;
    }
    
    .standard-content h3 {
        font-size: 1.3rem;
    }
    
    .standard-content h4 {
        font-size: 1.15rem;
    }
    
    .standard-page-links a,
    .standard-page-links .current {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        margin: 0.125rem;
    }
}

@media (max-width: 576px) {
    .standard-page {
        margin: 0.25rem 0;
        padding: 0.75rem;
    }
    
    .standard-content table th,
    .standard-content table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .standard-comments {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}