@import '_content/AuralizeBlazor/AuralizeBlazor.tf5u2o3oxg.bundle.scp.css';
@import '_content/Nextended.Blazor/Nextended.Blazor.tkxqvq0zjw.bundle.scp.css';

/* /Components/Dashboard/JobCard.razor.rz.scp.css */
/* Job Card Styling - Same as Freelancer Card */
.job-card[b-kkb2x5tk0l] {
    overflow: hidden;
}

/* Card Action Buttons */
.card-action-button[b-kkb2x5tk0l] {
    min-width: auto !important;
    white-space: nowrap;
}

.freelancer-card-buttons[b-kkb2x5tk0l],
.job-card-buttons[b-kkb2x5tk0l] {
    flex-wrap: wrap;
}

/* Mobile Responsive - Same as Freelancer Card */
@media (max-width: 600px) {
    .job-card[b-kkb2x5tk0l] {
        flex-direction: column;
        width: 100%;
    }

    .freelancer-card-buttons[b-kkb2x5tk0l],
    .job-card-buttons[b-kkb2x5tk0l] {
        justify-content: flex-start !important;
        gap: 0.5rem;
    }

    .card-action-button[b-kkb2x5tk0l] {
        flex: 0 0 auto;
        min-width: 100px;
    }
}
/* /Pages/Chat/Chat.razor.rz.scp.css */
.messages-panel[b-qn4315o6lc] {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem 1rem;
    gap: 0.75rem;
    scroll-behavior: smooth;
    background-color: #ffffff !important;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(0, 0, 0, 0.02) 20px,
            rgba(0, 0, 0, 0.02) 21px
        );
    width: 100%;
    position: relative;
}

.message-wrapper-right[b-qn4315o6lc] {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;

}

.message-wrapper-left[b-qn4315o6lc] {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;

}

.message-bubble[b-qn4315o6lc] {
    max-width: 65% !important;
    min-width: 80px;
    padding: 0.875rem 1.125rem !important;
    border-radius: 1.125rem !important;
    word-wrap: break-word;
    position: relative;
    display: block !important;
    animation: messageSlideIn-b-qn4315o6lc 0.3s ease-out;
}

@keyframes messageSlideIn-b-qn4315o6lc {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sender's own messages - Right side with lighter blue */
.message-bubble.own-message[b-qn4315o6lc],
.message-bubble.own-message.mud-paper[b-qn4315o6lc],
.mud-paper.message-bubble.own-message[b-qn4315o6lc] {
    background-color: #e3f2fd !important;
    background: #e3f2fd !important;
    color: #2c3e50 !important;
    border-bottom-right-radius: 4px !important;
    border-top-right-radius: 1.125rem !important;
    border-top-left-radius: 1.125rem !important;
    border-bottom-left-radius: 1.125rem !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    margin-left: auto;
    padding: 0.875rem 1.125rem !important;
}

/* Override MudPaper default background */
.message-bubble.own-message.mud-paper[b-qn4315o6lc],
.mud-paper.message-bubble.own-message[b-qn4315o6lc] {
    background-color: #e3f2fd !important;
    background: #e3f2fd !important;
}

/* Receiver's messages - Left side with lighter grey background */
.message-bubble.other-message[b-qn4315o6lc],
.message-bubble.other-message.mud-paper[b-qn4315o6lc],
.mud-paper.message-bubble.other-message[b-qn4315o6lc] {
    background-color: #f5f5f5 !important;
    background: #f5f5f5 !important;
    color: #2c3e50 !important;
    border: none !important;
    border-bottom-left-radius: 4px !important;
    border-top-right-radius: 1.125rem !important;
    border-top-left-radius: 1.125rem !important;
    border-bottom-right-radius: 1.125rem !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    margin-right: auto;
    padding: 0.875rem 1.125rem !important;
}

/* Override MudPaper default background */
.message-bubble.other-message.mud-paper[b-qn4315o6lc],
.mud-paper.message-bubble.other-message[b-qn4315o6lc] {
    background-color: #f5f5f5 !important;
    background: #f5f5f5 !important;
}

.own-message .timestamp-text[b-qn4315o6lc],
.own-message .seen-indicator[b-qn4315o6lc] {
    color: rgba(44, 62, 80, 0.75) !important;
    font-weight: 500;
}

.other-message .timestamp-text[b-qn4315o6lc] {
    color: rgba(0, 0, 0, 0.6) !important;
}

.timestamp-text[b-qn4315o6lc] {
    font-size: 0.6875rem;
    margin-top: 0.375rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.seen-indicator[b-qn4315o6lc] {
    font-size: 0.6875rem;
    margin-top: 0.125rem;
    font-style: italic;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.seen-indicator[b-qn4315o6lc]::before {
    content: '✓✓';
    color: #4a90e2;
    font-style: normal;
    opacity: 0.9;
}

/* Chat wrapper improvements */
.chat-wrapper[b-qn4315o6lc] {
    background-color: #f0f2f5;
}

/* User list styling */
.mud-list-item[b-qn4315o6lc] {
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
}

.mud-list-item:hover[b-qn4315o6lc] {
    background-color: rgba(0, 0, 0, 0.04);
    transform: translateX(4px);
}

.mud-selected-item[b-qn4315o6lc] {
    background-color: rgba(25, 118, 210, 0.1) !important;
    border-left: 3px solid #1976d2;
}

/* Input area styling */
.mud-text-field[b-qn4315o6lc] {
    border-radius: 1.5rem !important;
}

.mud-button[b-qn4315o6lc] {
    border-radius: 1.5rem !important;
    text-transform: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.mud-button:hover[b-qn4315o6lc] {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Scrollbar styling */
.messages-panel[b-qn4315o6lc]::-webkit-scrollbar {
    width: 6px;
}

.messages-panel[b-qn4315o6lc]::-webkit-scrollbar-track {
    background: transparent;
}

.messages-panel[b-qn4315o6lc]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.messages-panel[b-qn4315o6lc]::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* /Pages/Dashboard.razor.rz.scp.css */
[b-ki29rgy41w] .section-container {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    height: calc(100vh - 280px);
}

/* Mobile: Remove fixed height and allow natural flow */
@media (max-width: 960px) {
    [b-ki29rgy41w] .section-container {
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
}

/* Mobile: Ensure filters are properly contained */
@media (max-width: 768px) {
    [b-ki29rgy41w] .section-container {
        padding: 8px !important;
    }
}
/* /Pages/Jobs/JobsDashboard.razor.rz.scp.css */
[b-t580ei7u1l] .section-container {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    height: calc(100vh - 280px);
}

/* Mobile: Remove fixed height and allow natural flow */
@media (max-width: 960px) {
    [b-t580ei7u1l] .section-container {
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
}

/* Mobile: Ensure filters are properly contained */
@media (max-width: 768px) {
    [b-t580ei7u1l] .section-container {
        padding: 8px !important;
    }
}

/* Jobs Dashboard Mobile Responsive */
@media (max-width: 768px) {
    .for-scoped-css[b-t580ei7u1l] {
        padding: 0 8px;
        margin: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    [b-t580ei7u1l] .mud-grid {
        margin: 0 !important;
        padding: 0 !important;
    }

    [b-t580ei7u1l] .mud-grid-item {
        padding: 4px !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    [b-t580ei7u1l] .mud-stack[spacing="4"] {
        gap: 1rem !important;
    }

    /* Job cards should not overflow on mobile */
    [b-t580ei7u1l] .job-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
