/* Css was created by Joshua Boyle for use on the Moraine Camplands website. */

/* General Styles */ 
body {
            /* background: url('images/043.jpg') no-repeat center center fixed;*/ /* Winter picture */
			background: url('images/sp0000.jpg') no-repeat center center fixed;/* Spring picture */
			/* background: url('images/043.jpg') no-repeat center center fixed;*/ /* Summer picture */
			/* background: url('images/043.jpg') no-repeat center center fixed;*/ /* Fall picture */
    background-size: cover;
    font-family: Arial, sans-serif;
}
html, body {
    max-width: 100%;
}

/* Layout Container */
.layout {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 30px); /* leave space for footer */
}


/* Base nav styling (desktop) */
nav {
    background-color: #808080;
    padding: 10px;
    display: flex;
    justify-content: center; /* centers navbar content */
    border: 2px solid #000;
    width: 98%;
    max-width: 98%;
    position: relative;       /* valid positioning */
    z-index: 3;
    flex-wrap: wrap;          /* allow wrapping on small screens */
}

nav a {
    color: white;
    margin: 0 10px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
}

/* Hover effect */
nav a:hover {
    color: #f0b74e;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    nav {
     /*   flex-direction: column;   /* stack links vertically */
      /*  align-items: center;      /* center links */
        padding: 0.5px;
        width: 95%;
    }
    nav a {
        margin: 5px 0;            /* vertical spacing for stacked links */
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    nav {
        width: 98%;
        padding: 0px;
    }
    nav a {
        margin: 4px 0;
        font-size: 10px;          /* smaller font for phones */
    }
}


nav a:hover {
    color: #f0b74e;
}

/* Sidebar Styling */
.sidebar {
    position: fixed;                  /* keeps sidebar in place */
    top: 60px;                        /* offset below navbar */
    left: 0;                           /* stick to left */
    width: 220px;                     /* proper default width */
    height: calc(89vh - 50px);       /* full height minus navbar */
    background-color: #808080;
    padding-top: 10px;
    z-index: 1000;
    color: white;
    display: flex;
    flex-direction: column;
    border-right: 3px solid #000;
    box-sizing: border-box;
    overflow-y: auto;                 /* scroll if content exceeds height */
}

.sidebar a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.sidebar a:hover {
    background-color: #575757;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 20%;                  /* collapsible / smaller sidebar */
        top: 50px;
        height: calc(89vh - 50px);
    }
    .sidebar a {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 20%;                  /* almost full width on phones */
        top: 40px;
        height: calc(93vh - 40px);
    }
    .sidebar a {
        font-size: 13px;
        padding: 8px;
    }
}


/* Main Content Area */
.main-content {
    width: 100%;
    /*max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	Left: -1;
	text-align: center;
}

.content-container {
    position: relative;               /* proper positioning */
    margin: 5vw auto 0 auto;          /* top margin and auto left/right centering */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1rem 2rem 1rem;     /* consistent padding with bottom space */
    max-width: 85%;                    /* responsive max width */
    width: 85%;                       /* fills parent container */
    box-sizing: border-box;            /* include padding in width */
    z-index: 0;
	margin-left: 15vw;
}

.database-content-container {
    position: relative;
    margin: 5vw auto 0 auto;          /* same centering for consistency */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1rem 2rem 1rem;
    max-width: 95%;
    width: 100%;
    box-sizing: border-box;
    z-index: 0;
}

/* Mobile adjustments */
/* 📱 Mobile adjustments */
@media (max-width: 768px) {
    .content-container {
        margin-left: 15vw;               /* remove sidebar gap on mobile */
        max-width: 100%;              /* use full screen width */
        margin-top: 3vw;              /* slightly reduce top margin */
        padding: 1rem;                /* tighter padding for small screens */
        border-radius: 0;             /* remove rounding if any */
    }
}

@media (max-width: 480px) {
    .content-container {
        margin-left: 17vw;            /* still offset for sidebar */
		width: 85%;
		Max-width: 85%;
        padding: 0.6rem;              /* tighter padding on very small screens */
    }
}

/* Website News & Updates Section */
.news-updates {
    width: 90%;                  /* default width for large screens */
    max-width: 1000px;           /* prevents stretching too wide */
    margin: 2rem auto;           /* centers section with spacing */
    padding: 1.5rem;
  /*  background-color: #ffffff;   /* light background for contrast */
    border: 0px solid #000;      /* solid black border */
    border-radius: 10px;         /* smooth corners */
    box-sizing: border-box;      /* includes padding in total width */
    overflow: hidden;            /* prevent any overflow */
    text-align: Center;
}

/* Section heading */
.news-updates h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000;
}

/* Inner content area */
.updates-container {
    width: 100%;
    max-height: 70vh;            /* keeps section from being too tall */
    overflow-y: auto;            /* scrolls if content exceeds max height */
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-sizing: border-box;
	margin-left: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-updates {
        width: 75%;
        padding: 1rem;
		margin-left: 15vw;
    }
    .news-updates h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-updates {
        width: 78%;
        padding: 0.8rem;
		margin-left: 15vw;
    }
    .updates-container {
        max-height: 60vh;
        padding: 0.8rem;
    }
}
/* Website News & Updates Section */
.news-updates1 {
    width: 80%;                  /* default width for large screens */
    max-width: 90%;           /* prevents stretching too wide */
    margin: 2rem auto;           /* centers section with spacing */
    padding: 1.5rem;
  /*  background-color: #ffffff;   /* light background for contrast */
    border: 0px solid #000;      /* solid black border */
    border-radius: 10px;         /* smooth corners */
    box-sizing: border-box;      /* includes padding in total width */
    overflow: hidden;            /* prevent any overflow */
    text-align: left;
	margin-left: 10vw;
}
.newsupdatefields {
    width: 80%;                  /* default width for large screens */
    max-width: 90%;           /* prevents stretching too wide */
    margin: 2rem auto;           /* centers section with spacing */
    padding: 1.5rem;
  /*  background-color: #ffffff;   /* light background for contrast */
    border: 0px solid #000;      /* solid black border */
    border-radius: 10px;         /* smooth corners */
    box-sizing: border-box;      /* includes padding in total width */
    overflow: hidden;            /* prevent any overflow */
    text-align: left;
	margin-left: 10vw;
}



/* Login Button Styling */
.login-container {
    text-align: right;
	border: 3px solid #000;
	position: fixed;
	top: 3vw;
    margin: 10px 20px 0 0;
	right: 5vw;
	background-color: #f0b74e;
}
.login-container1 {
    text-align: center;
    margin: 10px 20px 0 0;
}
.login-button {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0); /* Fully transparent white */
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #f0b74e;
    color: black;
}

/* Footer Styling */
.footer {
    background-color: #808080;
    color: white;
    text-align: right;
	align-items: left;
    width: 97%;
    position: fixed; /* Fixes the footer to the bottom */
    bottom: 0; /* Locks it to the bottom */
    left: 0; /* Ensures it spans the entire width */
    border: 6px solid #000;
    font-size: 14px;
	Margin: 0;
}


.footer a {
    color: #ffa500;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Copyright Styling */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
}

.copyright a {
    color: #fff;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Typography Styling */
h1, h2, h3, h4 {
    text-align: center;
    font-size: 24px;
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #444;
    min-width: 160px;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #575757;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Container for the whole content */
.content-container1 {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: flex-start; /* Aligns the content to the top */
    padding: 20px;
    margin-top: 20px;
}

/* Styling for the submit request form */
/* ===== Submit Request Container ===== */
.submitrequest {
    margin-left: 15vw;        /* Always offset for sidebar */
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem;       /* Inner spacing */
    box-sizing: border-box;
    background-color: #fff;   /* Optional card look */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Form Elements */
.submitrequest form {
    display: flex;
    flex-direction: column;
}

/* Labels */
.submitrequest label {
    margin-top: 0.8rem;
    font-weight: 600;
    color: #222;
}

/* Inputs & Textarea */
.submitrequest input[type="text"],
.submitrequest input[type="email"],
.submitrequest textarea,
.submitrequest select {
    margin-top: 0.3rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Textarea specific */
.submitrequest textarea {
    resize: vertical;
}

/* Submit button */
.submitrequest button {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #0066cc;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submitrequest button:hover {
    background-color: #004999;
}

/* Urgency Level Guide */
.submitrequest ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.submitrequest ul li {
    margin-bottom: 0.5rem;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1024px) {
    .submitrequest {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .submitrequest {
        margin-left: 15vw; /* Keep sidebar offset */
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .submitrequest {
        margin-left: 15vw; /* Maintain sidebar offset even on mobile */
        padding: 0.5rem;
    }

    .submitrequest h2 {
        font-size: 1.2rem;
    }
}

/* ===== Upload Section Container ===== */
.upload-section {
    margin-left: 15vw;                 /* Offset for sidebar */
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;             /* Inner spacing */
    background-color: rgba(255, 255, 255, 0.9); /* Translucent white */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    max-width: calc(100% - 15vw);      /* Prevent overflow */
}

/* Section header */
.upload-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #222;
}

/* Form styling */
.upload-section form {
    display: flex;
    flex-direction: column;
}

/* File input */
.upload-section input[type="file"] {
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-size: 1rem;
}

/* Submit button */
.upload-section button {
    padding: 0.75rem;
    background-color: #0066cc;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.upload-section button:hover {
    background-color: #004999;
}

/* Back to gallery link */
.upload-section p a {
    display: inline-block;
    margin-top: 1rem;
    color: #0066cc;
    text-decoration: none;
}

.upload-section p a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .upload-section {
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .upload-section {
        padding: 1rem;
    }

    .upload-section h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .upload-section {
        padding: 0.5rem;
    }

    .upload-section h2 {
        font-size: 1.2rem;
    }
}

/* ===== Pet Form Section ===== */
.pet-form {
    margin-left: 15vw;                 /* Offset for sidebar */
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background-color: rgba(255,255,255,0.9); /* Translucent white */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    max-width: calc(100% - 15vw);
}

.pet-form h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #222;
}

.pet-form form {
    display: flex;
    flex-direction: column;
}

.pet-form input[type="text"],
.pet-form input[type="file"] {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.pet-form button {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.pet-form button:hover {
    background-color: #004999;
}

/* ===== Pet List Section ===== */
.pet-list {
    margin-left: 15vw;                 /* Align with form */
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background-color: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    max-width: calc(100% - 15vw);
}

.pet-list h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #222;
}

/* Individual pet items */
.pet-list .pet-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.pet-list .pet-item img {
    max-width: 150px;
    max-height: 150px;
    display: block;
    margin-top: 0.5rem;
    border-radius: 8px;
}

/* Delete link styling */
.pet-list .pet-item a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #cc0000;
    text-decoration: none;
}

.pet-list .pet-item a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pet-form, .pet-list {
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .pet-form, .pet-list {
        padding: 1rem;
        margin-left: 15vw; /* Keep sidebar offset */
    }

    .pet-form h2, .pet-list h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .pet-form, .pet-list {
        padding: 0.5rem;
        margin-left: 15vw;
    }

    .pet-form h2, .pet-list h2 {
        font-size: 1.2rem;
    }

    .pet-list .pet-item img {
        max-width: 100%;
        height: auto;
    }
}

/* ===== Maintenance Feedback Section ===== */
.maintenance-feedback {
    margin-left: 15vw;                 /* Offset for sidebar */
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background-color: rgba(255,255,255,0.9); /* Translucent white */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    max-width: calc(100% - 15vw);      /* Prevent overflow */
}

.maintenance-feedback h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.maintenance-feedback form {
    display: flex;
    flex-direction: column;
}

.maintenance-feedback label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.maintenance-feedback textarea {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    margin-bottom: 1rem;
}

.maintenance-feedback button {
    padding: 0.75rem;
    background-color: #0066cc;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.maintenance-feedback button:hover {
    background-color: #004999;
}

/* Success message styling */
.maintenance-feedback .success {
    color: green;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .maintenance-feedback {
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .maintenance-feedback {
        margin-left: 15vw;
        padding: 1rem;
    }

    .maintenance-feedback h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .maintenance-feedback {
        margin-left: 15vw;
        padding: 0.5rem;
    }

    .maintenance-feedback h3 {
        font-size: 1.1rem;
    }
}


/* Style for the table container */
.table-container {
    margin: 20px 0;
    overflow-x: auto; /* Makes the table horizontally scrollable if needed */
}

/* Style the table itself */
table {
    width: 100%;
    border-collapse: collapse; /* Ensures table borders are collapsed */
	    background-color: #f9f9f9; /* Light background color for tbody */
}

/* Header cell styling */
th {
    padding: 10px;
    background-color: #007bff; /* Blue background color for the header */
    color: white; /* White text for header */
    border: 1px solid #ddd;
}

/* Body cells styling */
td {
    padding: 10px;
    text-align: left;
	    background-color: #f9f9f9; /* Light background color for tbody */
    border: 5px solid #ddd; /* Light gray border for table cells */
    color: #333; /* Dark text for readability */
}

/* Style for the tbody container */
.table-body-container {
    background-color: #f9f9f9; /* Light background color for tbody */
    border-radius: 8px; /* Optional: rounded corners for tbody */
}

/* Style alternating rows in the tbody */
table tbody tr:nth-child(even) {
    background-color: #f1f1f1; /* Light gray background for even rows */
}

/* Highlight row on hover */
table tbody tr:hover {
    background-color: #f0f8ff; /* Slight blue shade when hovering */
}

/* Table footer */
tfoot {
    background-color: #f1f1f1; /* Optional: Styling for table footer (if you add it) */
}


#financial-table-container {
    width: 80%; /* Adjust to your desired width */
    margin: 0 auto; /* This will center the table container on the page */
    text-align: center; /* Centers the content inside the container */
}


.board-content {
    width: 80%;
    /*max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	Left: -20px;
	text-align: center;
	color: fff;
}
section table td {
    background-color: #fff;  /* White background for table cells */
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;  /* Light gray border */
}

/* Optional: Hover effect for table rows */
section table tr:hover td {
    background-color: #f9f9f9;  /* Light gray background on hover */
}

.AdminTable {
    width: 100%;
    border-collapse: collapse;
    margin: 0.1rem 0;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow-x: auto;              /* allow horizontal scroll if needed */
    display: block;                /* prevents overflow cutoff */
    box-sizing: border-box;
	/*margin-left: 15vw;*/
}

.AdminTable td,
.AdminTable th {
    border: 3px solid #000;
    padding: 0.5rem;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    word-wrap: break-word;
}

.AdminTable td a {
    display: block;
    text-decoration: none;
    color: #2a3f54;
    font-weight: bold;
}

.AdminTable td:hover {
    background-color: #e6f2ff;
    transform: scale(1.05);
}

.AdminTable tr:nth-child(even) td {
    background-color: #f1f7fc;
}

.AdminTable tr:nth-child(odd) td {
    background-color: #ffffff;
}

.AdminTable th {
    background-color: #2a3f54;
    color: #ffffff;
    font-size: 1.1em;
}

section {
    padding: 20px;
    max-width: 100%;
    margin: auto;
    box-sizing: border-box;
}

/* ✅ Mobile adjustments */
@media (max-width: 768px) {
    section {
        margin-left: 20vw;           /* offset for sidebar */
        padding: 1px;
    }

    .AdminTable {
        display: block;
        overflow-x: auto;
        width: 85vw;                 /* ensures fits beside sidebar */
        font-size: 0.45rem;           /* slightly smaller text */
		margin-left: 18vw;
    }

    .AdminTable th,
    .AdminTable td {
        padding: 1px;
        white-space: nowrap;         /* prevents column wrapping */
    }
}

/* ✅ Extra small screens */
@media (max-width: 480px) {
    section {
        margin-left: 18vw;
    }

    .AdminTable {
        font-size: 0.5rem;
        width: 85vw;
    }

    .AdminTable th,
    .AdminTable td {
        padding: 8px;
    }
}
.weather-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: left; /* align left inside wrapper */
}

.weather-header {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

/* Wrapper forces offset for sidebar */
.weather-wrapper {
    margin-left: 15vw;        /* always pushes widget right */
    width: calc(100% - 15vw); /* prevent overflow */
}

/* Make widget responsive */
.weather-wrapper .weatherwidget-io {
    width: 700px;             /* default desktop width */
    max-width: 100%;          /* scales on smaller screens */
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .weather-wrapper .weatherwidget-io {
        width: 600px;
    }
}

@media (max-width: 768px) {
    .weather-wrapper .weatherwidget-io {
        width: 85vw;
    }

    .weather-header {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .weather-wrapper .weatherwidget-io {
        width: 90vw;
    }

    .weather-header {
        font-size: 1rem;
    }
}

/* ===== Checklist Section Container ===== */
.checklist-container {
    margin-left: 15vw;       /* Always offset for sidebar */
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-right: 2rem;     /* Optional padding on right */
    box-sizing: border-box;
}

/* Section Header */
.checklist-container h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

/* Paragraph Text */
.checklist-container p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #444;
}

/* Checklist List Styling */
.checklist-container .checklist-list ul {
    list-style-type: none;
    padding-left: 0;
}

.checklist-container .checklist-list li {
    margin-bottom: 0.5rem;
}

.checklist-container .checklist-list li a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}

.checklist-container .checklist-list li a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .checklist-container h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .checklist-container {
        margin-left: 15vw; /* Keep offset for sidebar */
        margin-right: 1rem; /* Ensure spacing from right edge */
    }

    .checklist-container h1 {
        font-size: 1.4rem;
    }

    .checklist-container p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .checklist-container h1 {
        font-size: 1.2rem;
    }

    .checklist-container p {
        font-size: 0.9rem;
    }
}


.account-section {
    margin-left: 15vw;
    margin-right: 5vw;
    background: #fff;
    padding: 20px;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Section Titles */
.section-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #0078D7;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

/* User details display */
.details-box p {
    margin: 8px 0;
    font-size: 1rem;
}

/* Form Box */
.form-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-box label {
    font-weight: 600;
}

.form-box input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.input-note {
    font-size: 0.9rem;
    color: #555;
    margin-top: -6px;
}

/* Update Button */
.update-btn {
    margin-top: 10px;
    background-color: #0078D7;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.update-btn:hover {
    background-color: #005fa3;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .account-section {
        margin-left: 15vw;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .form-box input {
        font-size: 0.95rem;
    }
}
/* Styles for the Board Meeting video section */
.BoardVideos {
    margin-left: 15vw;      /* Always 15vw from the left edge */
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;

}

/* Video styling */
.BoardVideos .BOD {
    width: 700px;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* 📱 Responsive adjustments for video only (margin-left stays 15vw) */
@media (max-width: 768px) {
    .BoardVideos .BOD {
		
        width: 80vw;   /* Scales down video on tablets/phones */
        height: auto;  /* Maintains correct aspect ratio */
    }
}

@media (max-width: 480px) {
    .BoardVideos .BOD {
        width: 80vw;   /* Nearly full width on mobile */
        height: auto;

    }
}


/* Closed Work Orders Table Styling */
.work-order-section {
    margin: 20px 0;
	Margin-left: 1vw;
    overflow-x: auto; /* Allow scroll on small screens */
}

.work-order-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: auto;
}

.work-order-section th, 
.work-order-section td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
}

.work-order-section th {
    background-color: #005a87;
    color: white;
    font-weight: 600;
}

.work-order-section tr:nth-child(even) {
    background-color: #f5f5f5;
}

.work-order-section tr:hover {
    background-color: #eef7ff;
}

.work-order-section input[type="number"],
.work-order-section input[type="text"] {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.work-order-section button {
    background-color: #c0392b;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.work-order-section button:hover {
    background-color: #e74c3c;
}

/* Main Content Styling */
.content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.content h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Table Styling */
.content table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.content th,
.content td {
    padding: 12px 16px;
    border: 1px solid #ccc;
    text-align: left;
}

.content th {
    background-color: #f4f4f4;
    color: #444;
}

.content tr:nth-child(even) {
    background-color: #f9f9f9;
}

.content button {
    padding: 6px 12px;
    background-color: #005a8d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.content button:hover {
    background-color: #003f66;
}

/* Member Database Management Section */
#member-database-management {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

/* Search form styling */
#member-database-management form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

#member-database-management input[type="text"] {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Table container to make table scrollable */
#member-database-management .table-wrapper {
    max-height: 1000px; /* Adjust height as needed */
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Table styling */
#member-database-management table {
    width: 60%;
    border-collapse: collapse;
    /*min-width: 1000px; /* Ensures horizontal scroll if table is too wide */
}

#member-database-management th,
#member-database-management td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap; /* Prevent text wrapping */
}

#member-database-management th {
    background-color: #0073e6;
    color: white;
    position: sticky;
    top: 0; /* Keep headers visible when scrolling */
    z-index: 2;
}

#member-database-management tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Action links */
#member-database-management a {
    color: #0073e6;
    text-decoration: none;
}

#member-database-management a:hover {
    text-decoration: underline;
}

/* Gallery Grid */
.gallery-grid-container {
    display: fixed;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5px;
    justify-content: left; /* Center the grid */
}

.gallery-item {
    position: relative;
    cursor: pointer;
    /*overflow: hidden;*/
    border-radius: 6px;
   /* border: 1px solid #ddd;*/
    width: 200px;
    height: 200px;
    display: flex;
    align-items: left;
    justify-content: left;
    /*background-color: #f7f7f7;*/
    transition: transform 0.2s ease;
}

.gallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .caption {
    text-align: center;
    font-size: 0.75rem;
    color: #333;
    margin-top: 4px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 90%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}
.gallery-header h2,
.gallery-header p {
    color: #020202; /* White text */
	
}

.gallery-header p {
    font-size: 1.5rem;
    line-height: 1.5;
	background-color: #fff;
}

.gallery-header a {
    color: #0000ee;
    text-decoration: underline;
}

.gallery-header a:hover {
    color: #ffcc00; /* optional hover effect */
}

.tree-container {
    margin-left: 10vw; /* keeps content out of the sidebar */
    padding: 10px;
}

.tree-work-order-section h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tree-work-order-section table {
    width: 100%;
    border-collapse: collapse; 
}

.tree-work-order-section table th,
.tree-work-order-section table td {
    border: 3px solid #333;
    padding: 8px;
    text-align: left;
}

.tree-work-order-section table input[type="number"],
.tree-work-order-section table input[type="text"] {
    width: 100%;
    box-sizing: border-box;
}

.tree-work-order-section button {
    margin: 2px;
    padding: 5px 10px;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .tree-container {
        margin-left: 18vw; /* adjust for smaller screens if sidebar shrinks */
    }
}

@media (max-width: 768px) {
    .tree-container {
        margin-left: 0; /* collapse sidebar space on very small screens */
        padding: 10px;
        overflow-x: auto;
    }

    .tree-work-order-section table {
        display: block;
        width: max-content;
    }
}
#calendar td.reserved {
    background-color: #ff6961; /* light red */
    color: white;
    font-weight: bold;
    border-radius: 50%;
}
/* Calendar reserved days */
.memorial-reserved {
    background-color: rgba(0, 123, 255, 0.5); /* Blue for Memorial */
    border-radius: 50%;
}

.gateside-reserved {
    background-color: rgba(40, 167, 69, 0.5); /* Green for Gateside */
    border-radius: 50%;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-left: 15px;
}

.video-container iframe {
  position: absolute;
  top:0;
  left:0;
  width:60%;
  height:60%;
}

/* Individual Golf Cart Entry */
.golf-cart-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #f8f9fa;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Form Inputs & Selects */
.golf-cart-entry input,
.golf-cart-entry select {
  flex: 1 1 150px;
  min-width: 120px;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  box-sizing: border-box;
}

/* Buttons inside entries */
.golf-cart-entry button {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.golf-cart-entry button:hover {
  background-color: #b02a37;
}

/* Add & Save Buttons */
form button[type="button"],
form button[type="submit"] {
  background-color: #0078d4;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease-in-out;
}

form button[type="button"]:hover,
form button[type="submit"]:hover {
  background-color: #005fa3;
}

/* Responsive Design */
@media (max-width: 768px) {
  section {
    margin-left: 0;              /* remove sidebar offset on small screens */
    width: 100%;
    border-radius: 0;
  }

  .golf-cart-entry {
    flex-direction: column;      /* stack inputs vertically */
  }

  .golf-cart-entry input,
  .golf-cart-entry select,
  .golf-cart-entry button {
    width: 100%;                 /* full width for mobile */
  }
}





