html {
    min-width: 120px;
    max-width: 720px;
    font-size: 14px;
    width: auto;
    position: relative;
    min-height: 100%;
}

@media (min-width: 120px) and (max-width: 720px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Reset and basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*html {
    width: auto;
    position: relative;
    min-height: 100%;
}*/

/*body {
    font-family: "Poppins", sans-serif;
    color: antiquewhite;
    height: 100vh;*/
/* overflow: hidden; */
/*background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #444444 100%);*/
/*width: auto;
    max-width: 720px;
    margin-bottom: 60px;
    background: #2F4F4F;
}*/

h1 {
    /*font-size: 3em;*/
    letter-spacing: 2px;
    font-size: 2.1rem;
    font-weight: 600;
}

p {
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.8;
}

a {
    font-size: 1.2em;
    color: var(--pg-600) !important;
    margin-left: 10px;
    opacity: 0.8;
}

table {
    border: 1px solid black;
    border-collapse: collapse;
    border-style: hidden;
    width: auto;
    background-color: transparent;
}

tr {
    border: 1px solid black;
    border-collapse: collapse;
    border-style: hidden;
    width: auto;
    background-color: transparent;
}

th {
    border: 1px solid black;
    border-collapse: collapse;
    border-style: hidden;
    width: auto;
    background-color: transparent;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.background-div {
    width: 100%;
    height: 300px;
    background-image: url('');
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
}

.event-details-view {
    background-color: #696969;
    margin: 0px 0px 20px 0px;
    padding: 7px;
    background-clip: padding-box;
}

.sightseeing-details-view {
    background-color: #556B2F;
    margin: 7px 0px;
    padding: 7px;
    background-clip: padding-box;
}

.center-element {
    margin: auto;
    width: 50%;
    /*border: 3px solid green;*/
    padding: 2px;
}

.marginSpace5px {
    margin: 5px;
    padding: 5px;
}

.marginSpaceVertical10px {
    margin: 3px 0px;
    padding: 3px 0px;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically */
    gap: 10px; /* space between text and image */

    border-radius: 8px;
    background-color: beige; /*#FDF5E6;*/ /*beige;*/
    color: #444;
    cursor: pointer;
    padding: 10px 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .active, .collapsible:hover {
        background-color: beige; /*#FDF5E6;*/ /*Cornsilk;*/
    }

/* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 0px;
    display: none;
    overflow: hidden;
    background-color: transparent;
}

.select-page-number {
    height: 30px;
    width: 95px;
}

.button-select-page {
    display: inline-block;
    /*padding: 10px 20px;*/
    background-color: white; /*#007bff;*/
    color: black;
    border-radius: 8px;
    text-decoration: none;
    /*font-weight: 600;*/
    transition: background 0.2s;
}

    .button-select-page:hover {
        background-color: darkgray; /*#0056b3;*/
    }

.button-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--soft-teal-hover);
    /*color: black;*/
    border-radius: 8px;
    text-decoration: none;
    /*font-weight: 600;*/
    transition: background 0.2s;
}

    .button-link:hover {
        background: var(--soft-teal-hover);
    }

.link-to-go-back {
    font-weight: bold;
    font-size: 15px;
    margin: 5px;
    padding: 5px;
}

.edit-delete-icons {
    margin: 5px;
    padding: 5px;
}

.create-sightseeing {
    width: 300px;
    margin: 0px 0px 0px 0px;
}

.create-sightseeing-image {
    margin: 10px 0px 10px 0px;
}

.create-links {
    font-size: 17px;
    /*color: darkblue;*/
    font-weight: bold;
}

.card-location-config {
    margin: 10px 7px 10px 7px;
    padding: 7px;
    background-color: aliceblue;
}

.card-event-config {
    margin: 10px 7px 10px 7px;
    padding: 7px;
    background-color: beige;
}

.card-filter-config {
    margin: 10px 7px 10px 7px;
    padding: 7px;
    background-color: aliceblue;
}

:root {
    --pg-50: #f4fbf7;
    --pg-100: #e8f7ee;
    --pg-200: #cfeee0;
    --pg-300: #b7e6d2;
    --pg-400: #8fd8b8;
    --pg-500: #63c89f;
    --pg-600: #3aa87f;
    --pg-700: #2e8f66;
    --text: #103227;
    --muted: #6b7a73;
    --surface: #fff;
    --shadow: 0 6px 18px rgba(16,50,39,.08);
}

body {
    font-family: Inter, sans-serif;
    color: var(--text);
    background: var(--pg-50);
    /*    font-family: "Poppins", sans-serif;
    color: antiquewhite;*/
    /*height: 100vh;*/
    /* overflow: hidden; */
    /*background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #444444 100%);*/
    width: auto;
    max-width: 720px;
    margin: 0 auto; /* centers the body block */
    /*margin-bottom: 60px;*/
    /*    background: #2F4F4F;*/
}

body-tdl {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertical */
}

.bg-soft {
    background: var(--pg-50);
}

.brand-logo {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--pg-600) !important;
}

.nav-glass {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.6) !important;
}

.logo {
    height: 28px;
}

.event-card, .location-card {
    background: var(--surface);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
    margin-bottom: 1rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pg-700);
}

.location-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pg-600);
}

.btn-filter {
    background: var(--pg-300);
    border: none;
    color: var(--pg-700);
    padding: .4rem .9rem;
    border-radius: 20px;
}

    .btn-filter.active {
        background: var(--pg-600);
        color: white;
    }

@media(min-width: 120px) and (max-width: 720px) {
    .event-grid, .location-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 1.2rem;
    }
}
