sedtha's picture
Upload 18 files
865f0b3 verified
body {
font-family: "Hanuman", serif;
background-color: #ffffff;
margin: 0;
padding: 0;
}
header {
background-color: #003366;
color: white;
padding: 10px 20px;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
height: 60px;
margin-right: 15px;
}
.title {
font-size: 16px;
line-height: 1.4;
}
.main-title {
position: absolute;
left: 44%;
transform: translateX(-50%);
text-align: center;
font-size: 28px;
}
.navbar-custom {
background-color: #003366;
}
.navbar-custom .nav-link {
color: white;
margin-right: 10px;
text-decoration: none;
}
.navbar-custom .nav-link:hover {
text-decoration: underline;
}
/* Editable container */
.editable-container {
position: relative;
margin: 10px 0;
}
.box {
width: 100%; /* full width of container */
max-width: 900px; /* optional, limit width */
margin: 0 auto 20px; /* center horizontally */
}
.editable {
flex: 1;
width: 100%;
min-height: 250px;
border: none;
padding: 0.1rem;
font-size: 18px;
font-family: 'Hanuman', serif;
white-space: pre-wrap;
outline: none;
position: relative;
}
.editable:empty:before {
content: attr(data-placeholder);
color: #999;
pointer-events: none;
}
/* Buttons inside input box */
.icon-buttons {
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 10px;
}
.icon-btn {
background: none;
border: none;
cursor: pointer;
font-size: 16px;
color: #232323;
border-radius: 50%;
padding: 6px;
transition: box-shadow 0.2s ease;
}
.icon-btn:hover {
color: #ffffff;
box-shadow: 0 0 0 2px rgba(200, 200, 200, 0.8);
}
/* Summarize button */
.btn-summarize {
bottom: 10px;
right: 10px;
background-color: #003366;
color: white;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
}
.btn-summarize:hover {
background-color: #002244;
}
/* Outputs: below input, side by side */
.outputs-container {
display: grid;
grid-template-columns: 1fr 1fr; /* side by side */
gap: 20px;
margin-top: 30px;
width: 100%;
}
@media (max-width: 768px) {
.outputs-container {
grid-template-columns: 1fr; /* stack vertically on small screens */
}
}
.output-section {
width: 100%;
}
.output-box-wrapper {
border: 1px solid #e0e0e0;
padding: 10px;
min-height: 350px;
background-color: #ffffff;
border-radius: 15px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
position: relative;
}
.output-box-wrapper label {
display: block;
margin-bottom: 10px;
font-weight: 600;
color: #003366;
}
.output-content {
min-height: 280px;
padding: 10px;
font-size: 16px;
line-height: 1.5;
font-family: 'Hanuman', serif;
white-space: pre-wrap;
overflow-y: auto;
}
.output-content:empty:before {
content: attr(data-placeholder);
color: #999;
pointer-events: none;
}
.output-loading {
opacity: 0.5;
pointer-events: none;
}
.model-dropdown {
margin-bottom: 15px;
}
.model-dropdown label {
display: block;
margin-bottom: 5px;
font-weight: 600;
color: #003366;
}
.model-dropdown select {
width: 100%;
padding: 10px;
border: 2px solid #003366;
border-radius: 8px;
font-family: 'Hanuman', serif;
font-size: 16px;
background-color: white;
color: #003366;
cursor: pointer;
}
.model-dropdown select:focus {
outline: none;
border-color: #002244;
box-shadow: 0 0 5px rgba(0, 51, 102, 0.3);
}
/* Loading animation */
.loading-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 16px;
font-weight: bold;
color: #10185b;
animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
}