body {
    background-color: #e5e5e5;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.full-width-header {
    background-color: #000000;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%; 
    box-sizing: border-box;
    border-radius: 5px;
}

.full-width-header h1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-image {
    height: 28px;
    margin-right: auto;
}
.full-width-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.login-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 20px;
    margin-bottom: 0px;
}

.main-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}
.main-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    background-color: #4A79E0;
    color: white;
    font-weight: bold;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(74,121,224, 1.0) 50%, rgba(63, 100, 213, 1.0) 100%);
}
.main-button img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}
.main-button:hover {
    background-color: #3f64d5;
}


.header-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    gap: 4px;
}
.header-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 4px;
    height: 4px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    background-color: #4A79E0;
    color: white;
    font-weight: bold;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(74,121,224, 1.0) 50%, rgba(63, 100, 213, 1.0) 100%);
}
.header-button img {
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
}
.header-button:hover {
    background-color: #3f64d5;
}

.input-field {
    font-size: 15px;
    padding: 8px;
    width: 100%;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 8px 0;
}

.input-field:focus {
    outline: none;
    border-color: #4A79E0;
}

.container {
    padding: 20px;
    max-width: 50%;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
    }
}

.container ul {
    padding: 0;
}

.container ul li {
    list-style-type: none;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.container ul li a {
    text-decoration: none;
    color: inherit;
    display: block; 
    width: 100%;
}

.status-circle {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 0px;
    margin-top: -3px;
    vertical-align: middle;
}

.status-ended {
    background-color: #4CAF50;
}

.status-registered {
    background-color: #d3d3d3;
}

.status-error {
    background-color: #f44336;
}

.status-ongoing {
    background-color: #FFEB3B;
}

.list-item {
    height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #FFFFFF;
}

.list-item:hover {
    background-color: #f2f2f2;
}

.list-header {
    height: 32px;
    display: flex;
    align-items: center;
    font-size: 1.0em;
    color: #333;
}

.list-details {
    height: 18px;
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #666;
}

.text-light-gray {
    color: #939393;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button-container .button {
    flex: 0 0 auto;
    min-width: 100px;
}

@media (max-width: 600px) {
    .button-container {
        justify-content: space-between;
    }
}

.button {
    border: none;
    outline: none;
    box-shadow: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(100,213,63, 0.6);
    }
    50% {
        box-shadow: 0 0 15px rgba(100,213,63, 1.0);
    }
    100% {
        box-shadow: 0 0 5px rgba(100,213,63, 0.6);
    }
}

.pulsing-glow {
    animation: pulse-glow 2s infinite alternate;
}

.button.light-blue {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4A79E0;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button.light-blue:hover {
    background-color: #3f64d5;
}

.button.light-green {
    display: inline-block;
    padding: 10px 20px;
    background-color: #64d53f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button.light-green:hover {
    background-color: #51ad33;
}

.button.light-gray {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a3a3a3;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button.light-gray:hover {
    background-color: #939393;
}

.button.light-red {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E63946;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button.light-red:hover {
    background-color: #D72638;
}

.button.light-yellow {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFB300;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button.light-yellow:hover {
    background-color: #cb8e00;
}

.remove-button {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: #E63946;
    transition: background-color 0.2s ease-in-out;
}

.remove-button:hover {
    background-color: #D72638;
}

.remove-icon {
    width: 16px;
    height: 16px;
    transition: opacity 0.2s ease-in-out;
}

.remove-button:hover .delete-icon {
    opacity: 0.7;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 450px;
    width: 90%;
    text-align: center;
}

.modal-header {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.prospect-list {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 520px;
    padding: 10px;
}

.prospect-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin: 6px 0;
    border-radius: 5px;
    border: 1px solid transparent;
    background-color: #f9f9f9;
    border-color: #f2f2f2;
    cursor: pointer;
}

.prospect-item:hover {
    background-color: #f2f2f2;
}

.prospect-item.selected {
    background-color: #d1e7ff;
    border-color: #007bff;
}

.modal-footer {
    padding: 15px;
    background: white;
    /* border-top: 1px solid #ddd; */
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Ensures vertical alignment */
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@media (max-width: 767px) {
    .login-container {
        max-width: 100%;
    }
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.login-container .error-message {
    color: #f44336;
    margin-top: 10px;
    display: none;
}

 .chart-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.chart-item {
    flex: 1 1 45%;
    min-width: 250px;
    max-width: 100%;
    text-align: center;
}

@media (max-width: 600px) {
    .chart-container {
        flex-direction: column;
        align-items: center;
    }

    .chart-item {
        width: 80%;
    }
}

.responsive-charts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.responsive-charts .chart-item {
    flex: 1 1 45%;
    min-width: 300px;
    box-sizing: border-box;
}

.responsive-charts .chart-item canvas {
    width: 100% !important;
    height: auto !important;
} */

.chart-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.chart-item {
    width: 40%;
    height: 40%;
    text-align: center;
}

.chart-item canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-title {
    margin-top: 8px;
    font-size: 19px;
    color: #333;
    font-weight: bold;
}

.label-value-pair {
    display: flex;
    align-items: center;
    padding: 8px 4px;
    border-bottom: 1px solid #FFFFFF;
}

.label {
    flex: 0 0 40%;
    height: 32px;
    display: flex;
    justify-content: left;
    align-items: center;
    font-weight: bold;
    color: #555;
}

.value {
    align-items: center;
    flex: 1;
    color: #333;
    word-wrap: break-word;
}

.audio-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    max-height: 80vh; /* Limit modal height */
    overflow: hidden; /* Prevent scrolling entire modal */
}

/* .json-content {
    text-align: left;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
} */

.json-content {
    text-align: left;
    word-wrap: break-word;
    white-space: pre-wrap;
    font-family: monospace;
    flex-grow: 1; /* Allows content to expand */
    overflow-y: auto; /* Enables scrolling */
    max-height: 60vh; /* Adjust based on design */
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

/* Fixed button container */
.modal-footer {
    padding: 15px;
    background: white;
    /* border-top: 1px solid #ddd; */
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Ensures vertical alignment */
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.custom-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #ccc;
    border-radius: 5px;
    display: inline-block;
    position: relative;
}

.custom-checkbox input:checked + .checkmark {
    background-color: #007bff;
}

.custom-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-dropdown {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.dropdown-button {
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 220px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10;
}

.dropdown-item {
    padding: 8px 12px;
    margin: 2px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    opacity: 0.8;
}

.dropdown-item:hover {
    opacity: 1.0;
}

.selected-tag {
    background-color: #4A79E0;
    font-weight: bold;
}

.prospect-tags {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
    height: 100%;
}

.tag-box {
    background-color: #a3a3a3;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 2px;
    height: 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: bold;
}
