/* Custom styles for FlexPMO */

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100%;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.btn {
    border-radius: 5px;
}

.min-vh-100 {
    min-height: 100vh;
}

.tooltip {
    z-index: 1000;
}

#graph-container {
    background-color: #fafafa;
}

/* Task status badges */
.badge {
    padding: 0.35em 0.65em;
}

/* Alert styling */
.alert {
    border-radius: 5px;
}

/* Form styling */
.form-control:focus,
.form-select:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Modal styling */
.modal-content {
    border-radius: 10px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Footer - Sticky to bottom */
footer {
    margin-top: auto;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
}

/* Recording functionality styles */
.recording-indicator {
    position: relative;
    width: 20px;
    height: 20px;
}

.recording-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #dc3545;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.recording-dot.paused {
    background-color: #ffc107;
    animation: none;
}

.gap-2 {
    gap: 0.5rem !important;
}

/* Markdown content styling */
.markdown-content {
    color: #333;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.25;
}

.markdown-content h1 {
    font-size: 2em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-content h2 {
    font-size: 1.5em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-content h3 {
    font-size: 1.25em;
}

.markdown-content h4 {
    font-size: 1em;
}

.markdown-content p {
    margin-bottom: 1em;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.markdown-content li {
    margin-bottom: 0.25em;
}

.markdown-content code {
    background-color: rgba(27, 31, 35, 0.05);
    border-radius: 3px;
    font-size: 85%;
    padding: 0.2em 0.4em;
    font-family: 'Courier New', monospace;
}

.markdown-content pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    font-size: 85%;
    line-height: 1.45;
    overflow: auto;
    padding: 1em;
    margin-bottom: 1em;
}

.markdown-content pre code {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    font-size: 100%;
}

.markdown-content blockquote {
    border-left: 4px solid #dfe2e5;
    color: #6a737d;
    padding: 0 1em;
    margin: 0 0 1em 0;
}

.markdown-content strong {
    font-weight: 600;
}

.markdown-content em {
    font-style: italic;
}

.markdown-content a {
    color: #0366d6;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content table {
    border-collapse: collapse;
    margin-bottom: 1em;
    width: 100%;
}

.markdown-content table th,
.markdown-content table td {
    border: 1px solid #dfe2e5;
    padding: 0.5em;
}

.markdown-content table th {
    background-color: #f6f8fa;
    font-weight: 600;
}

.markdown-content hr {
    border: none;
    border-top: 1px solid #eaecef;
    margin: 1.5em 0;
}

/* PV (Meeting Minutes) specific styling */
.pv-content {
    background-color: #ffffff;
    border-left: 4px solid #007bff;
    padding-left: 1.5rem !important;
}

.pv-content h2 {
    color: #007bff;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #e9ecef;
}

.pv-content h2:first-child {
    margin-top: 0;
    color: #212529;
    font-size: 1.75em;
    border-bottom: 3px solid #007bff;
    padding-bottom: 0.75em;
}

.pv-content h3 {
    color: #495057;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.pv-content ul,
.pv-content ol {
    margin-left: 1.5em;
    margin-bottom: 1.25em;
}

.pv-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.pv-content strong {
    color: #212529;
    font-weight: 600;
}

.pv-content p {
    margin-bottom: 1.25em;
    text-align: justify;
}

.pv-content table {
    margin: 1.5em 0;
    border: 1px solid #dee2e6;
}

.pv-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

