/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
span.acc-btn {
    /* create a grid */
    display: grid;
    width:97%;
    /* create colums. 1fr means use available space */
    grid-template-columns: 60px 2fr max-content;
    align-items: center;
    grid-gap: 10px;
}


.span-col-2 {
    /* create a grid */
    display: grid;
    width: 97%;
    /* create colums. 1fr means use available space */
    grid-template-columns: 2fr 200px;
    align-items: center;
    grid-gap: 10px;
}


.clickable-row {
    cursor: pointer;
}


.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.metric-card {
    padding: 1.5rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
}

.chart-card {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.bg-danger-light {
    background-color: rgba(220,53,69,0.1) !important;
}

.bg-info-light {
    background-color: #016db622 !important;
}

.bg-success-light {
    background-color: rgba(25, 135, 84,0.1) !important;
}

.bg-warning-light {
    background-color: #fc9a0f2b !important;
}

/* Status Badge Styles (Keep these from the previous step) */
.badge {
    padding: 0.5em 0.75em;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0; /* Prevents badge from shrinking */
}

.status-completed {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.status-upcoming {
    color: #004085;
    background-color: #cce5ff;
    border: 1px solid #b8daff;
}

.status-canceled {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.status-inprogress {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}

/* Card Specific Styles (Add these) */
.card {
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

    /*.card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }*/

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.card-text .fw-bold {
    color: #495057;
}

.card-footer {
    border-top: 1px solid #e9ecef !important; /* Ensure footer line is visible */
}




:root {
    --primary-color: #3498db;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.meeting-header {
    background: linear-gradient(to right, #ffffff 0%, #f8f9fa 100%);
    border-left-color: #3498db !important;
    transition: all 0.3s ease;
}

    .meeting-header:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
    }

.meeting-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.5rem;
}

.border-primary {
    /* border-color: #3498db !important; */
}

.agenda-item {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

    .agenda-item:hover {
        transform: translateX(5px);
    }

.urgent {
    border-left-color: var(--danger-color);
}

.warning {
    border-left-color: var(--warning-color);
}

.badge-remaining {
    font-size: 0.75rem;
    font-weight: 500;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.status-select {
    max-width: 200px;
    display: inline-block;
}

.hover-bg:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.participant-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .border-end {
        border-right: 0 !important;
    }
}


/* Subtle priority indicators */
.priority-critical {
    background-color: #ffb3ba; /* Soft coral pink */
    color: #8c2a3e; /* Deep rose for contrast */
}

.priority-high {
    background-color: #ffdfba; /* Peach */
    color: #8c4a2a; /* Dark terracotta */
}

.priority-medium {
    background-color: #ffffba; /* Light butter */
    color: #8c7a2a; /* Mustard brown */
}

.priority-low {
    background-color: #baffc9; /* Mint green */
    color: #2a8c4a; /* Forest green */
}

/* Base badge style */
.priority-badge {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.3;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}






/* Main Container */
.meeting-topic-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
.topic-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

    .topic-header h1 {
        font-size: 2rem;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .topic-header h2 {
        font-size: 1.5rem;
        color: #444;
        margin-top: 0;
    }

.topic-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

/* Priority Badges */
.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.high-priority {
    background-color: #ffebee;
    color: #c62828;
}

.medium-priority {
    background-color: #fff8e1;
    color: #f57f17;
}

.low-priority {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* Deadline */
.deadline {
    font-size: 0.9rem;
}

    .deadline.warning {
        color: #d32f2f;
        font-weight: bold;
    }

/* Topic Details Card */
.topic-details-card {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

    .topic-details-card h3 {
        margin-top: 0;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.5rem;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: #555;
    }

    .form-group p {
        margin: 0;
        padding: 0.5rem;
        background: #f9f9f9;
        border-radius: 3px;
    }

/* Progress Bar */
.progress {
    height: 24px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: width 0.3s ease;
}

/* Attachments Section */
.attachments-section {
    margin-top: 2rem;
}

    .attachments-section h4 {
        margin-bottom: 1rem;
        color: #333;
    }

.attachment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

    .attachment-list li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
    }

        .attachment-list li a {
            color: #2196F3;
            text-decoration: none;
        }

            .attachment-list li a:hover {
                text-decoration: underline;
            }

        .attachment-list li .file-size {
            margin-left: auto;
            color: #757575;
            font-size: 0.8rem;
        }

.upload-btn {
    margin-top: 1rem;
    background: #2196F3;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
}

    .upload-btn:hover {
        background: #0d8aee;
    }

/* Collaboration Section */
.collaboration-section {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .collaboration-section h3 {
        margin-top: 0;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.5rem;
    }

.comment-box textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.comment-box button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
}

    .comment-box button:hover {
        background: #3d8b40;
    }

/* Timeline */
.action-history-card {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .action-history-card h3 {
        margin-top: 0;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.5rem;
    }

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 7px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #e0e0e0;
    }

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-icon {
    position: absolute;
    left: -1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e0e0e0;
}

    .timeline-icon i {
        font-size: 0.8rem;
    }

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timeline-date {
    font-size: 0.8rem;
    color: #757575;
}

.timeline-user {
    font-weight: bold;
    margin-left: 0.5rem;
}

.timeline-action {
    margin: 0.5rem 0 0;
}

.timeline-notes {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f5f5f5;
    border-left: 3px solid #2196F3;
    font-size: 0.9rem;
}

/* Timeline Item Types */
.timeline-item.Creation .timeline-icon {
    border-color: #4CAF50;
    color: #4CAF50;
}

.timeline-item.Assignment .timeline-icon {
    border-color: #FF9800;
    color: #FF9800;
}

.timeline-item.Modification .timeline-icon {
    border-color: #2196F3;
    color: #2196F3;
}

.timeline-item.Resolution .timeline-icon {
    border-color: #9C27B0;
    color: #9C27B0;
}

/* Responsive Layout */
/*@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-md-8, .col-md-4 {
        width: 100%;
    }
}*/







.progress-container {
    margin: 1rem 0;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

    .status-badge.ontrack {
        background-color: #e8f5e9;
        color: #2e7d32;
    }

    .status-badge.completed {
        background-color: #e3f2fd;
        color: #1565c0;
    }

    .status-badge.overdue {
        background-color: #ffebee;
        color: #c62828;
        font-weight: bold;
    }

    .status-badge.notstarted {
        background-color: #f5f5f5;
        color: #616161;
    }

.progress {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

    .progress.overdue .progress-bar {
        background-color: #c62828;
    }

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}
