@font-face {
    font-family: 'Source Sans Pro';
    src: url('./fonts/SourceSansPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('./fonts/SourceSansPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Source Sans Pro';
    margin: 0;
    padding: 0;
     height: 100%; /* Ensure the body takes the full height of the viewport */
    display: flex;
    flex-direction: column;
}
.tab-container {
    width: 90%; /*60*/
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.tab-header {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}
.tab-header div {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    background: #fafafa;  /*f9f9f9*/
    /*border-right: 1px solid #ccc;*/
    transition: background 0.3s ease;
}
.tab-header div:last-child {
    border-right: none;
}
.tab-header div:hover {
    background: #e0e0e0;  /*C2E0FF*/
    border-bottom: 2px solid #666666;
}
.tab-header .active {
    /*background: #ddd;*/
    font-weight: bold;
    border-bottom: 2px solid #007BFF;
}
.tab-content {
    display: none;
    padding: 20px;
}
.tab-content.active {
    display: block;
}
/* Selection area (Where it displays what is selected)*/
.selection-area{
    width: 90%;
    margin: 20px auto;
    border-radius: 5px;
}
th, td {
    text-align: left;
    vertical-align: top;
    padding: 0px 10px 0px 0px;  /* top right bottom left */
}

.link-button {
    background: none;
    border: none;
    color: #007BFF; /* Link color */
    text-decoration: underline;
    cursor: pointer;
    font: inherit; /* Inherits font settings from its parent */
    padding: 0; /* Removes button padding */
}

.link-button:hover {
    color: #0056b3; /* Darker link color on hover */
}

/* The overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* The popup container */
.popup {
    position:relative;
    background: white;
    width: 600px;
    height: 400px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Title bar */
.popup-title-bar {
    background: #007BFF; /* Bootstrap primary blue */
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title-bar h3 {
    margin: 0;
    font-size: 18px;
}

.popup-title-bar button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


.spacer {
    height: 40px; /* Space between content and footer */
    width: 100%;
}

footer {
    /*background-color: #c2c5c7;*/
    color: #4E5256;
    background: white;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    margin-top: auto;

    /*position: absolute;
    bottom: 0;
    width: 100%;*/
    margin-top: auto; /* Pushes the footer to the bottom of the page if content is short */
    width: 100%;
    height: 50px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow for visual distinction */
}