@font-face {
    font-family: 'Lato';
    src: url('/static/fonts/Lato/Lato-Regular.ttf');
  }

/* General container for the case display */
.case-display-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    /* background-color: #f8f9fa; */
    /* border: 1px solid #dee2e6; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
    font-family: Arial, sans-serif;
    position: absolute;
}

/* Case info section */
.case-info-section {
    padding: 15px;
    background-color: #ffffff; /* White background */
    border: 1px solid #dee2e6; /* Light gray border */
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.case-info-section h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #343a40; /* Dark gray */
}

.case-info-section p {
    margin: 5px 0;
    color: #495057; /* Medium gray */
}

/* Case participants section */
.case-participants-section {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.case-participants-section h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: #343a40;
}

/* Table for participants */
.participants-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.participants-table th,
.participants-table td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
}

.participants-table th {
    background-color: #f1f3f5; /* Light gray background */
    color: #212529; /* Darker text */
    font-weight: bold;
}

.participants-table tr:hover {
    background-color: #f8f9fa; /* Light hover effect */
    cursor: pointer;
}

/* Case documents section */
.case-documents-section {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center; /* Placeholder alignment */
}

.case-documents-section h3 {
    font-size: 1.25rem;
    color: #343a40;
}

.case-documents-section p {
    margin-top: 10px;
    color: #6c757d; /* Subtle gray for placeholder text */
}

/* Case AI section */
.case-ai-section {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center; /* Placeholder alignment */
}

.case-ai-section h3 {
    font-size: 1.25rem;
    color: #343a40;
}

.case-ai-section p {
    margin-top: 10px;
    color: #6c757d; /* Subtle gray for placeholder text */
}

.caseDisplayContainer {
	height: 100%;
}

.caseDisplayContainer .tabContainer {
	height: 85vh;
    width: 100%;
	margin-top: 30px;
}

.caseDisplayContainer .tabContainer .contentContainer {
	overflow: hidden;
}

.aiSubsection {
	width: calc(100% - 32px);
	padding: 16px;
}

.caseDisplayContainer .tabContainer .contentContainer .content {
	width: 100%;
    padding: 0;
    height: fit-content;
    overflow-y: scroll;
}


.caseDisplayContainer .tabContainer .contentContainer .content > div {
	min-height: 100%;
    height: fit-content;
}

.caseDisplayContainer .tabContainer .headersContainer {
    position: relative;
    top: 1px;
    z-index: 510;
}

.caseDisplayContainer .tabContainer .headersContainer h3 {
    padding: 6px 18px;
    font-weight: normal;
    margin: 0 2px 0 0;
}

.aiSubsection h3 {
	color: var(--main-black, var(--black, #000023));

	/* H1-Headline */
	font-family: Lato;
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 36px; /* 150% */
}

.aiSubsection h3 label {
	color: #999999;

	/* H1-Headline */
	font-family: Lato;
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 36px; /* 150% */
}

.aiSubsection h3 label.selected {
	color: var(--main-black, var(--black, #000023));
	border-bottom: 1px solid #000023;
}

.contentContainer {
	width: 100%;
	height: 100%;
}

.caseDisplaySection {
    margin-top: 30px;
    padding: 18px;
    border-radius: 8px;
    background-color: var(--main-white, #FFF);
    box-shadow: 0px 4px 5px 0px rgba(243, 246, 250, 0.43);
}

.documents-table {
    padding: 24px 4px 0;
    font-weight: bold;
    text-align: left;
}

.documents-table tr td {
    padding: 12px;
}

.view-button, .delete-button {
    display: inline-block;
    height: 44px;
    padding: 14px 26px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: var(--main-white, #FFF);
    font-size: 16px;
    font-family: Lato;
    font-weight: 500;
    line-height: 16px;
    color: var(--main-black, #000023);
    border: 1px solid var(--main-black, #000023);
    margin-right: 8px;
}

button.delete-button {
	display: inline-block;
	height: 44px;
	padding: 14px 26px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-radius: 8px;
	background: var(--main-white, #FFF);

	/* Small Text */
	font-size: 16px;
	font-family: Lato;
	font-weight: 500;
	line-height: 16px;
	color: #FF0000;
	border: 1px solid #FF0000;
}

button.delete-button:hover {
	background: #FFEEEE;
}

button.view-button:hover, button.send:hover, button.white-button:hover {
	background: #EEEEEE;
}

div.tabContainer > div.contentContainer > div:nth-child(1) > div.aiSubsection {
    padding: 0;
    width: 100%;
}

div.tabContainer > div.contentContainer > div:nth-child(1) > div.aiSubsection h3 {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

div.tabContainer > div.contentContainer > div:nth-child(1).content {
    overflow-y: hidden;
}

.aiSubsection h3 p {
    display: inline-block;
    margin-left: 6px;
    position: relative;
    bottom: 3px;
}

.light {
    color: var(--secondary-gray, var(--gray, #60656A));
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

.aiOptions {
    width: 100%;
    display: flex;
}

.aiOptions .checkbox-container {
    margin-left: 12px;
}

.aiSubsection h3 label {
    color: #999999;
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
}

.aiOptions .second-label {
    color: var(--main-black, var(--Black, #000023));
    font-family: Lato;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    position: relative;
    top: 2px;
    margin-left: 10px;
}

#history, #anthropicHistory {
    overflow-y: scroll;
    min-height: 40px;
    flex: 50%;
    padding: 8px 16px;
    height: calc(100% - 118px);
}

#anthropicHistory {
    border-radius: 0px 8px 8px 0px;
    background: var(--secondary-light-blue, #DDE6F1);
}

.bottomContainer {
    padding: 16px;
    background: white;
    width: calc(100% - 32px);
    height: 112px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 0;
}

.promptContainer {
    position: relative;
}

#aiPrompt {
    width: calc(100% - 140px);
    padding: 10px;
    font-size: 16px;
}

button.send {
    position: absolute;
    top: 0;
    right: 0;
}

button.open, button.send, button.white-button, button.popup-option-button {
    display: inline-block;
    height: 44px;
    padding: 14px 26px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: var(--main-white, #FFF);
    font-size: 16px;
    font-family: Lato;
    font-weight: 500;
    line-height: 16px;
    color: var(--main-black, #000023);
    border: 1px solid var(--main-black, #000023);
    margin-right: 8px;
}

button.open:hover, button.send:hover, button.white-button:hover {
	background: #EEEEEE;
}

.aiButtonsSection {
    margin-top: 12px;
}

button.resolution {
    display: inline-block;
    height: 44px;
    padding: 14px 26px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: var(--main-blue, #0065DC);
    font-size: 16px;
    font-family: Lato;
    font-weight: 500;
    line-height: 16px;
    color: var(--main-white, #FFF);
    border: 1px solid var(--main-black, #000023);
    margin-right: 8px;
    float: right;
    transition: background 400ms, padding 400ms;
}

button.resolution:hover {
	padding: 14px 36px;
}

#historyContainer {
    display: flex;
    height: 600px;
    position: relative;
}

#history h4 {
    background: white;
}

#history h4, #anthropicHistory h4 {
    color: var(--main-black, var(--Black, #000023));
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    width: 40px;
    padding: 8px 32px;
    position: absolute;
    top: 0;
    margin: 0;
    white-space: nowrap;
}

.suggestedQuestion {
	border-radius: 8px;
    background: var(--secondary-light-blue, #DDE6F1);
    width: calc(100% - 32px);
    color: var(--main-black, var(--black, #000023));
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    margin-top: 16px;
    padding: 10px 16px;
}

.suggestedQuestion input {
	display: inline-block;
}

.suggestedQuestion p {
	display: inline-block;
	margin-left: 16px;
	max-width: calc(100% - 48px);
}

.streamed-response {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding: 10px;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow-y: auto; /* Allows scrolling if content exceeds max height */
    white-space: pre-wrap; /* Preserve formatting and line breaks */
}

.back-to-questions {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.back-to-questions:hover {
    background-color: #0056b3;
}

.back-to-questions:focus {
    outline: none;
    box-shadow: 0 0 3px 2px rgba(0, 123, 255, 0.5);
}

.back-to-questions:disabled {
    background-color: #d6d6d6;
    color: #999999;
    cursor: not-allowed;
}

.case-overview-container {
    padding: 20px;
}

.case-overview-container h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.key-points-section, .overlooked-section {
    margin-top: 20px;
}

.key-points-section h4, .overlooked-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

.key-points-section ul, .overlooked-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.key-points-section li, .overlooked-section li {
    margin-bottom: 5px;
    color: #444;
}

.streamed-response span {
    font-weight: bold;
}

.upload-details-container > div h3 {
    width: 100%;
    background: rgba(61, 112, 167, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.3);
}