html {
    box-sizing: border-box;
    font-size: 100%;
}

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

html,
body {
    height: 100%;
}

.misc {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the container takes full viewport height */
}

/* Make main content grow to push footer down */
main.container {
    flex: 1 0 auto; /* This makes main content take available space */
}

/* Footer styles - already has bg-light class */
footer.footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    width: 100%;
}


/* Size for brand */
nav .navbar-brand
{
    font-size: xx-large;
}
/* links */
a {
    color: #3c8454;
    text-decoration: none;
}

a:hover {
    color: #bcaa96;
    text-decoration: none;
}

/* nav .navbar-brand .green
{
    color: #2e944b;
} */
.green
{
    color: #2e944b;
}
/* nav a 
{
    color: #f57c00;
} */

/* background for alert bar */
.flash-bar {
    background-color: #e8f9e9;
    padding: 0.25rem 0.5rem;  /* overrides .alert padding */
    margin-bottom: 0.25rem;
    line-height: 1.2;
    min-height: unset;
    max-height: 6rem;
    scrollbar-width: thin; /* for Firefox */
    overflow-y: auto;      /* prevent overflow */
    overflow-x: hidden;    /* recommended  */
    scroll-behavior: smooth;
}
.flash-bar::-webkit-scrollbar {
    width: 6px;
}

.flash-bar .flashes-sm {
    font-size: 0.85rem;       /* smaller text */
    padding: 0.25rem 0.75rem; /* thinner height */
    margin-bottom: 0.2rem;    /* less spacing */
    margin-top: 0.2rem;
}
.flashes-sm {
    display: flex;
    flex-direction: column-reverse;
}
/* links */
a {
    color: #3c8454;
    text-decoration: none;
}

a:hover {
    color: #bcaa96;
    text-decoration: none;
}
.upload-form {
            background: #f5f5f5;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

input[type="file"] {
            width: 300px;
            padding: 10px;
            border: 2px dashed #ccc;
            border-radius: 5px;
            background: white;
    }

/* selectors for table styling */
.row-header {
    background-color: #038542;
    color: white;
    font-weight: bold;
}
.cover-cell {
    min-width: 150px;
    }
.button-cell{
    min-width: 150px;
}

/* #region FOOTER
------------------------------------*/
.footer {
    /* background: #d2d3d5; */
    /* background: #e8f9e9;  */
    color: green; 
}
.socials {
    list-style-type: none;
    padding: 0;
}

.socials li {
    display: inline-block;
    margin-left: 15px;
    margin-top: 15px;
}

.socials img {
    width: 32px;
}

.socials img:hover {
    opacity: 0.5;
}

@media screen and (min-width: 860px) {
    .footer {
        display: flex;
        /* justify-content: space-between; */
        justify-content: space-around;
        align-items: center;
        padding: 0px 20px;
    }
}

@media screen and (max-width: 859px) {
    .footer {
        text-align: center;
        padding: 10px;
    }
}

 .iframe-btn {
    padding: 10px 40px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  }

  .iframe-btn:hover {
    background: #1a5a8f;
    /* color: #f5a524; */
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  }
  .summary-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
  }
  
  .summary-form .form-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 12px;
  }
  
  .summary-form label {
    font-weight: 600;
  }
  
  .summary-form select,
  .summary-form input[type="url"] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .form-row-submit .iframe-btn {
    justify-self: start; /* keep regular button width */
  }