/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
/* data tabel listing report logs page   */
   /* Base Styles & Typography (consistent with previous design) */
 

    /* Page Header */
   /* Base Styles */
   /* sweet ;alert list css  */
        .swal2-html-container ul { text-align: left;
        }
    /* --- Breadcrumb Enhancements --- */
    .breadcrumb {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        background-color: #ffffff;
        padding: 0.75rem 1.25rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    
    .breadcrumb-item {
        color:rgb(168, 167, 167) !important;
        display: flex;
        align-items: center;
    }
  .breadcrumb-item a{
        color: #000 !important;
        display: flex;
        align-items: center;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="%236c757d" d="M2.5 0l-1.5 1.5 3.5 3.5-3.5 3.5 1.5 1.5 5-5z"/></svg>');
        vertical-align: middle;
        margin: 0 0.5rem;
        opacity: 0.7;
    }

    .breadcrumb-item.active {
        color:rgb(156, 156, 156);
        font-weight: 600;
    }

    /* --- Main Card Styling --- */
    .card {
        border: none;
        border-radius: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background-color: #ffffff;
        padding: 1.5rem 0; /* Adjust padding for inner content */
    }

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .card-body {
        padding: 0 2rem; /* Consistent horizontal padding for card content */
    }

    .card-title-sm {
        font-size: 1.5rem; /* Slightly larger for main title */
        font-weight: 700;
        color: #212529;
        margin-bottom: 1.75rem; /* More space below the title */
        display: flex;
        align-items: center;
    }

    .card-title-sm i {
        font-size: 1.8rem; /* Larger icon */
        margin-right: 1rem;
        color: #6610f2; /* A distinct primary color for icons */
    }

    /* --- Report Details (Summary) --- */
    .report-detail-row {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1.5rem; /* Add space below summary details */
    }

    .report-detail-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        margin-bottom: 1rem;
        font-size: 1rem; /* Clearer font size */
    }

    .report-label {
        font-weight: 600;
        color: #555;
        margin-right: 0.5rem;
    }

    .report-value {
        color: #333;
        word-wrap: break-word;
    }

    /* Highlighted text for Location Name */
    .report-value.highlight {
        font-weight: 700;
        color: #007bff; /* Primary blue for highlight */
    }

    /* --- File Sections within Summary Card --- */
    .file-section-title {
        font-size: 1.35rem; /* Consistent with sub-section title */
        font-weight: 700;
        color: #212529;
        margin-top: 2.5rem; /* More space above this section */
        margin-bottom: 1.25rem;
        display: flex;
        align-items: center;
        padding-top: 1.5rem; /* Add padding to separate from above content */
        border-top: 1px solid #eee; /* Subtle separator line */
    }

    .file-section-title i {
        font-size: 1.6rem;
        margin-right: 0.75rem;
        color: #28a745; /* Green for file icons */
    }

    .file-card-container {
        margin-bottom: 1rem; /* Space between file cards */
    }

    .file-card {
        background-color: #f8fcf9; /* Very light green background */
        border: 1px solid #d4edda; /* Subtle green border */
        border-radius: 0.75rem;
        padding: 1rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        transition: all 0.3s ease-in-out;
    }

    .file-card:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        transform: translateY(-2px);
    }

    .file-icon {
        font-size: 2.2rem;
        color: #28a745; /* Green for output file icons */
        margin-right: 1rem;
    }
    .file-icon.csv { /* Specific style for CSV icons */
        color:rgb(251, 158, 143); /* Blue for input file icons (CSV) */
    }

    .file-info {
        flex-grow: 1;
    }

    .file-name {
        font-weight: 600;
        font-size: 1rem;
        color: #212529;
        margin-bottom: 0;
    }

    .file-actions {
        margin-left: 1rem;
        flex-shrink: 0;
    }

    /* --- New Download Link Style (replaces green buttons) --- */
    .download-link {
        display: inline-flex;
        align-items: center;
        padding: 0.4rem 0.6rem; /* Smaller click area */
        border-radius: 0.4rem;
        color: #007bff; /* Default blue for links */
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
        font-size: 0.9rem;
            background: #f8e8e8;
    }

    .download-link:hover {
        background-color: rgba(0, 123, 255, 0.1);
        color: #0056b3; /* Darker blue on hover */
    }

    .download-link i {
        margin-right: 0.4rem;
        font-size: 1.1rem;
    }

    /* --- Responsive Adjustments --- */
    @media (min-width: 992px) { /* Larger screens (lg and up) */
        /*.summary-card-col {
            flex: 0 0 75%;
            max-width: 75%;
            margin-right: auto;
        }*/
    }

    @media (max-width: 991.98px) { /* Medium (md) and down */
        .report-detail-item {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    @media (max-width: 767.98px) { /* Small (sm) and down */
        .report-detail-item {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .file-card {
            flex-direction: column;
            align-items: flex-start;
            padding: 1rem;
        }
        .file-actions {
            width: 100%;
            margin-top: 0.75rem;
            margin-left: 0;
            text-align: left;
        }
        .download-link {
            width: auto;
            display: inline-flex; /* Ensure it stays inline with icon */
        }
        .file-section-title {
            padding-left: 1rem;
            margin-top: 1.5rem;
            margin-bottom: 1rem;
        }
    }
    /* above for summary page
     */
     /* ######################### */
     /* ######################### */
     /* ######################### */
.menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 34px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !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;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* 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;
}
