.justify-right {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    align-items: center;
}

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.copy-icon {
    cursor: pointer;
}

.highlight-row {
    background-color: #f5f5f5;
}

.status-active {
    color: green;
}

.status-inactive {
    color: red;
}

.center-text {
    text-align: center;
}

.mat-table {
    margin: auto;
    table-layout: auto;
}

.mat-table th,
.mat-table td {
    padding: 5px;
    margin: 0;
}

.form-element label {
    width: 100%;
}

.form-element {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.bxs-none {
    box-shadow: none;
}

.item-4pr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.auto-scroll {
    overflow-x: auto;
}

::-webkit-scrollbar {
    width: 8px;
    height: 6px;
    /* width of the scrollbar */
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* color of the track */
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    /* color of the handle */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* color of the handle on hover */
}

.content {
    padding-top: 1.1rem;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex {
    display: flex;
    align-items: center;
    gap: 5px;
}

.grid {
    display: grid;
    gap: 10px;
    align-items: center;
}

.overflow-wrap {
    overflow-wrap: anywhere;
}

.btn-container {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    gap: 5px;
    justify-content: end;
}
.table-div
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Custome Tab */
.tab-menu {
    display: flex;
    width: 100%; /* Adjust width as needed */
}

.tab-link {
    width: 50%;
    
    border-radius: 10px;
    background-color: #ebe8e8;
    color: #333;
    text-decoration: none;
    padding: 5px 20px;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}
.tab-link.active {
    
    background-color: #c5c5c5;
     /* Change to desired active color */
}
.tab-link:hover {
    background-color:  #c5c5c5;
}
.jc-end
{
    justify-content: end;
}
.jc-start
{
    justify-content: start;
}
.jc-center
{
    justify-content: center;
}
.custom-card-title
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.border-none tr, .border-none td{
    text-align: start;
    border: none;
}
.flex-row
{
    display: flex;
    gap:5px;
    flex-direction: row;
    align-items: center;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

.welcome-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.user-info {
    text-align: center;
}

.user-image {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.calendar {
    margin-top: 20px;
}

.dashboard-items {
    padding: 20px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.item-card {
    padding: 20px;
}
.overview-stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    flex: 1;
    padding: 20px;
}



.item-card, .analytics, .site-management, .notifications {
    padding: 20px;
}

.mat-link-button {
    margin: 5px 0;
}

.link {
    color: #007BFF; /* Default link color */
    text-decoration: none; /* Remove underline */
    font-weight: normal; /* Normal font weight */
}

/* Hover state */
.link:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline; /* Underline on hover */
}

/* Active state */
.link:active {
    color: #004085; /* Even darker blue when active */
    text-decoration: underline; /* Keep underline on active */
}

/* Visited state */
.link:visited {
    color: #6c757d; /* Different color for visited links */
}

/* Additional styles */
.link:focus {
    outline: none; /* Remove default outline */
}

.link:disabled {
    color: #6c757d; /* Disabled link color */
    pointer-events: none; /* Disable interaction */
}
.item-4pr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.demo-mat-card
{
    max-width: 400px;
    display: flex;
    gap: 10px;
}

.image-list
{
    max-height: 200px;
}

.status-new {
    color: #007bff;
    font-weight: bold;
}
/* Blue */
.status-read {
    color: #fd7e14;
    font-weight: bold;
}
/* Orange */
.status-resolved {
    color: #28a745;
    font-weight: bold;
} 

/* preview starts  */
.card-header {
    padding: 16px;
    border-bottom: 1px solid #ccc;
}

.preview-wrapper {
    padding: 16px;
}

.title-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
}

.fact-check {
    background-color: #e0ffe0;
}

.review {
    background-color: #e0f0ff;
}

.product-block {
    margin-bottom: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

.product-detail {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-info, .product-image, .product-offers {
    margin: 0.5rem;
}

.product-pros-cons {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
}

.pros-block ul, .cons-block ul {
    padding-left: 1.2rem;
}

.post-image-source {
    font-style: italic;
    color: #007acc;
}

.hyper-tag {
    color: #007acc;
    text-decoration: none;
}

    .hyper-tag:hover {
        text-decoration: underline;
    }

.media-block, .event-block {
    margin-bottom: 1.5rem;
}

.reference-container {
    margin-top: 2rem;
}
/* preview ends*/

/* user preview starts*/
.user-preview-container {
    margin: 2rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.user-info h2 {
    margin: 0;
    font-size: 1.5rem;
}

.username {
    font-size: 0.95rem;
    color: #777;
}

.designation {
    color: #444;
    font-weight: bold;
}

.bio-section {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    margin: 15px;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    margin-right: 1rem;
    color: #0077cc;
    text-decoration: none;
}

    .social-links a:hover {
        text-decoration: underline;
    }

.user-table-section {
    margin-top: 1.5rem;
}

.user-details-table {
    width: 100%;
    border-collapse: collapse;
}

    .user-details-table th,
    .user-details-table td {
        padding: 0.75rem;
        border: 1px solid #ddd;
    }

    .user-details-table th {
        background-color: #f0f0f0;
        text-align: left;
    }


/* user preview ends*/

.rewrite-messages-list {
    max-height: 500px; 
    overflow-y: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

    .rewrite-messages-list h1,
    .rewrite-messages-list h2,
    .rewrite-messages-list h3 {
        margin-top: 1.2em;
        margin-bottom: 0.5em;
    }

    .rewrite-messages-list p {
        margin-bottom: 1em;
    }

    .rewrite-messages-list img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        margin: 10px 0;
    }

    .rewrite-messages-list table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 1em;
    }

    .rewrite-messages-list table,
    .rewrite-messages-list th,
    .rewrite-messages-list td {
        border: 1px solid #ccc;
        padding: 8px;
    }

    .rewrite-messages-list blockquote {
        margin: 1em 0;
        padding-left: 1em;
        border-left: 4px solid #aaa;
        color: #555;
        font-style: italic;
    }

.jc-sb{
    justify-content:space-between;
}



.checkbox-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: start;  optional: aligns checkboxes to the left inside the grid cell 
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-items: start; /* or center if you prefer */
}

.checkbox-item {
    width: 100%; /* let it stretch to fill its grid cell */
}

.custom-icon {
    width: 24px; /* Adjust the size as needed */
    height: 24px;
}
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Main FAB button */
.fab-menu {
    cursor: pointer;
    z-index: 2;
}

/* Action buttons, part of layout flow now */
.fab-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show on hover of wrapper (no gap issues) */
.fab-wrapper:hover .fab-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
