/* Style Sheet for the web application */
body {
    font-family: Arial, sans-serif;
     margin: 0 auto 0 auto;
    padding: 0;
    padding-top: 300px; /* Adjust this value to match your header's height */
}

.greeting {
    text-align: center;
    margin-top: 20px;
    font-size: 36px;
    color: #35424a;
}




/* HEADER STYLES */

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0;
  display: flex;
  align-items: flex-start; /* Align items to the top */
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.site-header .logo img {
  width: 100%;
  height: auto;
  display: block;
  align-self: flex-start;
  margin: 0;
  object-fit: contain;
}

#header-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#footer-placeholder {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav {
    background-color: #35424a;
    padding: 10px;
}
nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
}
nav a:hover {
    background-color: #e8491d;
}
main {
    padding: 20px;
}
footer {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
h1, h2, h3 {
    color: #35424a;
}
p {
    line-height: 1.6;
    color: #333333;
}
button {
    background-color: #e8491d;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}
button:hover {
    background-color: #35424a;
}
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #e8491d;
    outline: none;
}
@media (max-width: 768px) {
    nav {
        text-align: center;
    }
    nav a {
        display: block;
        margin: 5px 0;
    }
}
@media (max-width: 480px) {
    header, footer {
        padding: 5px;
    }
    main {
        padding: 10px;
    }
    button {
        width: 100%;
    }
}
/* Responsive design adjustments */
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    header, footer {
        text-align: center;
    }
    nav a {
        padding: 8px 10px;
    }
}       
/* Additional styles for forms */
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}   
form label {
    display: block;
    margin-bottom: 5px;
    color: #35424a;
}
form input[type="submit"] {
    background-color: #35424a;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}   
form input[type="submit"]:hover {
    background-color: #e8491d;
}
/* Additional styles for tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}   
table th, table td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
table th {
    background-color: #35424a;
    color: #ffffff;
}
table tr:nth-child(even) {
    background-color: #f2f2f2;
}
table tr:hover {
    background-color: #e8491d;
    color: #ffffff;
}
/* Additional styles for alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
    border-color: #d6e9c6;
}
.alert-danger {
    background-color: #f2dede;
    color: #a94442;
    border-color: #ebccd1;
}
.alert-info {
    background-color: #d9edf7;
    color: #31708f;
    border-color: #bce8f1;
}
.alert-warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
    border-color: #faebcc;
}
/* Additional styles for cards */
.card { 
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}       
.card h3 {
    margin-top: 0;
    color: #35424a;
}
.card p {
    color: #333333;
}   
.card button {
    margin-top: 10px;
    background-color: #e8491d;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}   
.card button:hover {
    background-color: #35424a;
}   
/* Additional styles for modals */
.modal {        
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}   
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    border-radius: 5px;
}   
.modal-header {
    padding: 10px 0;
    border-bottom: 1px solid #dddddd;
}
.modal-header h2 {
    margin: 0;
    color: #35424a;
}
.modal-body {
    padding: 20px 0;
}
.modal-footer {
    padding: 10px 0;
    text-align: right;
}
.modal-footer button {
    background-color: #e8491d;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}   
.modal-footer button:hover {
    background-color: #35424a;
}
/* Additional styles for tooltips */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}   
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    margin-left: -60px;
}   
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; 
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}   
.tooltip:hover .tooltiptext {
    visibility: visible;
}   
/* Additional styles for pagination */
.pagination {
    display: inline-block;
    padding: 0;
    margin: 20px 0;
}
.pagination a {
    color: #35424a;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #dddddd;
}   
.pagination a.active {
    background-color: #e8491d;
    color: white;
    border: 1px solid #e8491d;
}   
.pagination a:hover:not(.active) {
    background-color: #ddd;
}   
.pagination a.disabled {
    color: #cccccc;
    pointer-events: none;
    background-color: #f4f4f4;
    border: 1px solid #dddddd;
}   
/* Additional styles for icons */
.icon {
    font-size: 20px;
    color: #35424a;
    margin-right: 10px;
}   
.icon:hover {
    color: #e8491d;
}   
/* Additional styles for badges */
.badge {    
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    color: #ffffff;
    background-color: #e8491d;
    border-radius: 12px;
}   
.badge-success {
    background-color: #5cb85c;
}   
.badge-danger {
    background-color: #d9534f;
}   
.badge-info {
    background-color: #5bc0de;
}   
.badge-warning {
    background-color: #f0ad4e;
}   
/* Additional styles for breadcrumbs */
.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
}   
.breadcrumb a {
    color: #35424a;
    text-decoration: none;
}   
.breadcrumb a:hover {
    text-decoration: underline;
}   
.breadcrumb span {
    color: #999999;
}   
/* Additional styles for accordions */
.accordion {
    background-color: #f9f9f9;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 20px;
}   
.accordion-header {
    padding: 10px;
    cursor: pointer;
    background-color: #35424a;
    color: #ffffff;
}   
.accordion-header:hover {
    background-color: #e8491d;
}   
.accordion-content {
    padding: 10px;
    display: none; /* Hidden by default */
    background-color: #ffffff;
}   
.accordion.active .accordion-content {
    display: block; /* Show content when active */
}   
/* Additional styles for sliders */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}   
.slider:hover {
    opacity: 1;
}   
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #e8491d;
    border-radius: 50%;
    cursor: pointer;
}   
.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #e8491d;
    border-radius: 50%;
    cursor: pointer;
}   
.slider::-ms-thumb {
    width: 25px;
    height: 25px;
    background: #e8491d;
    border-radius: 50%;
    cursor: pointer;
}   
/* Additional styles for progress bars */
.progress {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 4px;
    overflow: hidden;
}   
.progress-bar {
    height: 20px;
    background-color: #e8491d;
    width: 0%;
    transition: width .4s ease;
}   
.progress-bar-success {
    background-color: #5cb85c;
}   
.progress-bar-danger {
    background-color: #d9534f;
}   
.progress-bar-info {
    background-color: #5bc0de;
}   
.progress-bar-warning {
    background-color: #f0ad4e;
}   
/* Additional styles for notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #e8491d;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}   
.notification.success {
    background-color: #5cb85c;
}   
.notification.error {
    background-color: #d9534f;
}   
.notification.info {
    background-color: #5bc0de;
}   
.notification.warning {
    background-color: #f0ad4e;
}   
.notification.hide {
    display: none;
}   
