html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #F1F1F2;
}


header {
    background: linear-gradient(to top, #005ECA, #00A4FF); /* Gradient from dark to light blue */
    height: 12rem; /* Fixed height to match the header in the screenshot */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

h2 {
    font-size: 20px;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    padding: 2.75rem 3rem 3rem 3rem;
    position: relative;
    z-index: 1;
}

.meeting-info {
    background: white;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
}

.meeting-info h2 {
    padding-top: 0.5rem;
    margin: 0 0 20px 0;
    font-size: 1.8rem;
    color: #333;
}

.meta {
    color: #666;
    font-size: 1em;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.2rem;
}


.meta-item {
    margin-right: 0.8rem;
    position: relative;
    top: 0.1rem;
}

img, svg {
    height: 24px;
}

.tabs {
    margin: 0px 0;
}

.tabs a {
    color: #0078D4;
    text-decoration: none;
    margin-right: 1.5rem;
    text-decoration: underline;
    font-size: 1.2rem;
}


.content {
    margin-top: 20px;
}


ul {
    padding-left: 1.5rem;
}

li {
    padding-top: 0.2rem;
}

.footer {
    padding: 10rem 0rem 0rem 0rem;
    text-align: center;
}

.footer-text {
    font-weight: 350;
}

.message-wrapper {
    margin-bottom: 20px;
}

.message-cloud {
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.message-cloud::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    border-width: 0 5px 10px 5px;
    border-style: solid;
    border-color: transparent transparent #f1f1f1 transparent;
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.speaker-name {
    font-weight: bold;
    margin-right: 5px;
}

.start-time {
    font-size: 0.9em;
    color: #666;
}

.message-content {
    font-size: 0.95em;
    color: #333;
}


.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #178feb;
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    display: block;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #0078D4;
}

ul li {
    font-size: 13px;
    font-family: 'Noto Sans', sans-serif;
}

.message-content,
.start-time {
    font-family: 'Noto Sans', sans-serif;
    font-size: 13px !important;
}

ul{
    margin-bottom: 24px;
}

.section-header.flex-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.section-header.flex-header h3 {
    margin: 0;
}

.copy-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 2px 6px 2px 4px;
    width: auto;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #178feb;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.copy-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(54%) sepia(92%) saturate(749%) hue-rotate(176deg) brightness(97%) contrast(101%);
}

.copy-btn-text {
    color: #178feb;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    line-height: 20px;
}

.copy-btn:hover, .copy-btn:focus {
    color: #00A4FF;
}

.copy-btn:hover .copy-btn-text, .copy-btn:focus .copy-btn-text {
    color: #00A4FF;
}

.copy-btn:hover img, .copy-btn:focus img {
    filter: brightness(0) saturate(100%) invert(62%) sepia(99%) saturate(749%) hue-rotate(176deg) brightness(97%) contrast(101%);
}

.copy-btn {
    margin-left: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.1rem;
    color: #0078D4;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #005ECA;
}

#copy-notification {
    width: 220px; /* Fixed container width */
    height: 36px; /* Fixed container height */
    top: 50px;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Offset by half the width */
    padding: 2px 8px 2px 16px; /* Top 2px, right 8px, bottom 2px, left 16px */
    border-radius: 4px; /* Container border-radius */
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center text and button */
    justify-content: flex-start; /* Align content to start, respecting gap */
    gap: 8px; /* Gap for 196px content */
    font-family: 'Noto Sans', sans-serif;
    font-size: 15px;
    box-shadow: 0px 0px 8px 0px #00000033; /* Simplified shadow */
    background-color: #2D313A;
    color: #FFFFFF;
    z-index: 2000;
    box-sizing: border-box; /* Include padding in dimensions */
    overflow: hidden; /* Prevent content from escaping */
}

.notification-message {
    width: 156px; /* Fixed text width */
    height: 20px; /* Fixed text height */
    max-width: 156px; /* Enforce 156px width */
    font-size: 15px;
    line-height: 20px; /* Center text vertically in 20px height */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block; /* Simplify layout, avoid flex issues */
    vertical-align: middle; /* Align with button */
    margin: 0;
    padding: 0;
}

.close-btn {
    width: 32px; /* Fixed button width */
    height: 32px; /* Fixed button height */
    border-radius: 4px; /* Button border-radius */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center; /* Center image vertically */
    justify-content: center; /* Center image horizontally */
    flex-shrink: 0;
    vertical-align: middle; /* Align with text */
    margin: 0; /* Prevent margin collapse */
}

.close-btn img {
    width: 32px;
    height: 32px;
    display: block; /* Remove extra spacing */
}

.alert-success {
    background-color: #e6f4ea;
    color: #ffffff;
}

.alert-danger {
    width: 331px !important;
    background-color: #DD1D2A !important;
    color: white;
}
.alert-danger .notification-message {
    width: 267px; /* Adjusted text width for failure */
    max-width: 267px; /* Enforce new width */
}

h1 {
    font-size: 18px;
}

.markdown-summary h2 {
    font-size: 16px;
}

h3 {
    font-size: 16px;
}


.markdown-summary {
    position: relative;
    margin-top: 20px;
}
