@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* _content/Anekdotify.Frontend/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-k301qm66sn] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-k301qm66sn] {
    flex: 1 1 auto;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

}

.sidebar[b-k301qm66sn] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-k301qm66sn] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    display: flex;
    align-items: center;
}

    .top-row[b-k301qm66sn]  a, .top-row[b-k301qm66sn]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-k301qm66sn]  a:hover, .top-row[b-k301qm66sn]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-k301qm66sn]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-k301qm66sn] {
        justify-content: space-between;
    }

    .top-row[b-k301qm66sn]  a, .top-row[b-k301qm66sn]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-k301qm66sn] {
        flex-direction: row;
    }

    .sidebar[b-k301qm66sn] {
        width: 250px;
        position: sticky;
        top: 0;
    }

    .top-row[b-k301qm66sn] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-k301qm66sn]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-k301qm66sn], article[b-k301qm66sn] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-k301qm66sn] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-k301qm66sn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

html[b-k301qm66sn], body[b-k301qm66sn] {
    margin: 0;
    padding: 0;
    background-color: #fff !important;
    color: #212529 !important;
}

.main-fixed-content-area[b-k301qm66sn] {
    max-width: 800px;
    width: 90%;
    max-height: calc(100% - 20px);
    overflow-y: auto;
    box-sizing: border-box;
    flex-direction: column;
}

    .main-fixed-content-area > div[b-k301qm66sn] {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

.success-toasts-override[b-k301qm66sn] {
    background-color: #28a745 !important;
    color: white !important;
}

.error-toasts-override[b-k301qm66sn] {
    background-color: #dc3545 !important;
    color: white !important;
}
/* _content/Anekdotify.Frontend/Components/Layout/NavMenu.razor.rz.scp.css */
@media (max-width: 576px) {
    .navbar-brand[b-a4pwn8rnd9] {
        font-size: 1.3rem !important;
        padding-left: 0.1rem;
    }
    .navbar-text[b-a4pwn8rnd9] {
        font-size: 0.95rem;
    }
    .btn.btn-sm[b-a4pwn8rnd9] {
        font-size: 0.95rem;
        padding: 0.25rem 0.5rem;
        min-width: 60px !important;
    }
    .navbar .btn[b-a4pwn8rnd9], .navbar .navbar-text[b-a4pwn8rnd9] {
        margin-bottom: 0 !important;
    }
    .navbar .btn[b-a4pwn8rnd9] {
        min-width: 60px !important;
        justify-content: center;
    }
    .navbar-nav[b-a4pwn8rnd9] {
        gap: 0.25rem !important;
    }
}
/* _content/Anekdotify.Frontend/Components/Pages/EditJoke.razor.rz.scp.css */
.card[b-ptbduccp1c] {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header[b-ptbduccp1c] {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.form-label[b-ptbduccp1c] {
    font-weight: 600;
    color: #495057;
}

.btn[b-ptbduccp1c] {
    min-width: 120px;
}

.spinner-border-sm[b-ptbduccp1c] {
    width: 1rem;
    height: 1rem;
}

textarea.form-control[b-ptbduccp1c] {
    resize: vertical;
    min-height: 100px;
}

.alert[b-ptbduccp1c] {
    border-radius: 0.375rem;
}
/* _content/Anekdotify.Frontend/Components/Pages/JokeDisplayPage.razor.rz.scp.css */
/* Main Layout */
.joke-main-outer[b-cq5yp1hvxy] {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.joke-main-inner[b-cq5yp1hvxy] {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

/* Controls & Card Areas */
.joke-controls-area[b-cq5yp1hvxy],
.joke-card-area[b-cq5yp1hvxy] {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: auto;
    min-height: 100vh;
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

/* Center controls vertically */
.joke-controls-area[b-cq5yp1hvxy] {
    justify-content: flex-start;
    padding-top: calc(30vh - 60px); /* Position button at roughly 30% from top */
}

/* Button and toggle container - fixed position */
.joke-controls-area > .d-flex[b-cq5yp1hvxy] {
    margin-bottom: 2rem;
    position: relative;
}

/* Joke Card Area - Centered vertically */
.joke-card-area[b-cq5yp1hvxy] {
    justify-content: center;
    padding-top: 0;
}

/* Center the joke card comments */
.joke-card-comments[b-cq5yp1hvxy] {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

/* No Joke Available - Center properly */
.joke-main-inner > .d-flex.justify-content-center[b-cq5yp1hvxy] {
    min-height: 100vh;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    gap: 1rem;
}

/* Animation classes */
.fade-in[b-cq5yp1hvxy] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-out[b-cq5yp1hvxy] {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Filter Section */
.filter-section[b-cq5yp1hvxy] {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    overflow: hidden;
    margin-top: 1.5rem;
}

/* Card Header */
.card-header[b-cq5yp1hvxy] {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1.25rem;
}

.card-header .btn[b-cq5yp1hvxy] {
    color: #343a40;
    font-weight: 600;
    padding: 0.5rem;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.card-header .btn:hover[b-cq5yp1hvxy] {
    color: #000000;
    background-color: rgba(255, 255, 255, 0.5);
}

.card-header .btn i[b-cq5yp1hvxy] {
    color: #6c757d;
    transition: transform 0.3s;
}

.card-header .btn[aria-expanded="false"] i.bi-chevron-down[b-cq5yp1hvxy] {
    transform: rotate(-90deg);
}

/* Card Body */
.card-body[b-cq5yp1hvxy] {
    background: #ffffff;
    padding: 1rem 1.25rem;
}

/* Filter Options */
.filter-options[b-cq5yp1hvxy] {
    max-height: 240px;
    overflow-y: auto;
}

.form-check[b-cq5yp1hvxy] {
    margin-bottom: 0.5rem;
}

/* Custom scrollbar */
.filter-options[b-cq5yp1hvxy]::-webkit-scrollbar {
    width: 4px;
}

.filter-options[b-cq5yp1hvxy]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.filter-options[b-cq5yp1hvxy]::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 2px;
}

.filter-options[b-cq5yp1hvxy]::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}

/* Form elements */
.form-check-input[b-cq5yp1hvxy] {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.form-check-input:checked[b-cq5yp1hvxy] {
    background-color: #212529;
    border-color: #212529;
}

.form-check-label[b-cq5yp1hvxy] {
    color: #343a40;
    font-weight: 500;
    font-size: 0.875rem;
    padding-left: 0.65rem;
}

.form-switch .form-check-input[b-cq5yp1hvxy] {
    width: 2.5rem;
    height: 1.25rem;
    cursor: pointer;
}

.form-switch .form-check-label[b-cq5yp1hvxy] {
    cursor: pointer;
    margin-left: 0.25rem
}

/* Alert for active filters */
.alert-sm[b-cq5yp1hvxy] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.4rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.alert-sm small[b-cq5yp1hvxy] {
    color: #495057;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* Filter badges */
.badge[b-cq5yp1hvxy] {
    background-color: #343a40 !important;
    color: #ffffff;
    font-weight: 400;
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    margin: 0.25rem;
}

/* Get Joke Button */
.joke-get-btn[b-cq5yp1hvxy] {
    background: #212529;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.joke-get-btn:hover[b-cq5yp1hvxy] {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.joke-get-btn:active[b-cq5yp1hvxy] {
    transform: translateY(0);
}

.joke-get-btn:disabled[b-cq5yp1hvxy] {
    background: #adb5bd;
    cursor: not-allowed;
}

/* Previous joke button */
.btn-outline-secondary[b-cq5yp1hvxy] {
    color: #495057;
    border-color: #ced4da;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover[b-cq5yp1hvxy] {
    background-color: #e9ecef;
    color: #212529;
    transform: translateY(-1px);
}

.btn-outline-secondary:active[b-cq5yp1hvxy] {
    transform: translateY(0);
}

/* Spinner */
.spinner-border[b-cq5yp1hvxy] {
    color: #343a40;
    width: 3rem;
    height: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .joke-card-area[b-cq5yp1hvxy] {
        padding: 1.5rem 1rem;
    }
    
    .joke-main-inner > .d-flex.justify-content-center[b-cq5yp1hvxy] {
        padding: 1.5rem;
    }
    
    .joke-get-btn[b-cq5yp1hvxy] {
        font-size: 1.1rem;
        padding: 0.9rem 1.8rem;
    }
}

@media (max-width: 576px) {
    .joke-controls-area[b-cq5yp1hvxy] {
        padding-top: calc(25vh - 50px);
    }
    
    .joke-card-area[b-cq5yp1hvxy] {
        padding: 1rem;
    }
    
    .joke-main-inner > .d-flex.justify-content-center[b-cq5yp1hvxy] {
        padding: 1rem;
    }
    
    .joke-get-btn[b-cq5yp1hvxy] {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }
    
    .filter-section[b-cq5yp1hvxy] {
        margin-top: 1.25rem;
    }
    
    .card-body[b-cq5yp1hvxy] {
        padding: 0.75rem 1rem;
    }
}

/* Orientation and height-specific adjustments */
@media (max-height: 700px) {
    .joke-controls-area[b-cq5yp1hvxy] {
        padding-top: calc(15vh - 30px);
    }
    
    .filter-options[b-cq5yp1hvxy] {
        max-height: 180px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .joke-controls-area[b-cq5yp1hvxy] {
        padding-top: 1rem;
    }
    
    .filter-section[b-cq5yp1hvxy] {
        margin-top: 1rem;
    }
}
/* _content/Anekdotify.Frontend/Components/Pages/JokesTable.razor.rz.scp.css */
.jokes-toolbar[b-rhrs80uw2g] {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
}

.jokes-toolbar-mobile[b-rhrs80uw2g] {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.65rem 0.75rem;
}

.jokes-list-container[b-rhrs80uw2g] {
    transition: height 0.3s;
    overflow-y: auto;
    height: calc(100vh - 220px);
    padding-bottom: 80px;
    position: relative;
}

/* Single container for joke + comments */
.joke-with-comments-container[b-rhrs80uw2g] {
    position: relative;
    margin-bottom: 1rem;
    /* Ensure proper isolation for each joke+comments unit */
    isolation: isolate;
}

.joke-card-wrapper[b-rhrs80uw2g] {
    position: relative;
    z-index: 1;
}

.comments-wrapper[b-rhrs80uw2g] {
    position: relative;
    z-index: 2;
    margin-top: 0.5rem;
}

/* Remove all the complex positioning and overlapping styles */
.comments-wrapper .collapse[b-rhrs80uw2g],
.comments-wrapper .collapsing[b-rhrs80uw2g] {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.comments-wrapper .collapse.show[b-rhrs80uw2g] {
    padding: 0.5rem;
}

/* Card styles */
.card[b-rhrs80uw2g] {
    height: 100%;
    transition: box-shadow 0.2s;
}

/* Comment area style */
.comments-area[b-rhrs80uw2g] {
    max-height: 250px;
    overflow-y: auto;
}

/* Compact dropdown for mobile */
.jokes-toolbar-mobile .dropdown-menu[b-rhrs80uw2g] {
    min-width: 260px;
    padding: 0.75rem;
}

/* Badge styling */
.jokes-toolbar-mobile .badge[b-rhrs80uw2g] {
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jokes-list-container[b-rhrs80uw2g] {
        overflow-x: hidden;
    }
}

@media (max-width: 576px) {
    .jokes-toolbar[b-rhrs80uw2g] {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 0.5rem;
    }
    
    .jokes-toolbar > div:first-child[b-rhrs80uw2g] {
        width: 100%;
    }
    
    .jokes-toolbar > div:last-child[b-rhrs80uw2g] {
        width: 100%;
        justify-content: space-between;
    }
}
/* _content/Anekdotify.Frontend/Components/Pages/Profile.razor.rz.scp.css */
.avatar-circle[b-9fhi66xark] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.stat-card[b-9fhi66xark] {
    transition: transform 0.2s;
    border: 1px solid #e9ecef;
}

.stat-card:hover[b-9fhi66xark] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-info .row[b-9fhi66xark] {
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .list-group-item[b-9fhi66xark] {
        padding: 0.5rem 0.5rem !important;
    }
    .list-group-item h6[b-9fhi66xark],
    .list-group-item p[b-9fhi66xark],
    .list-group-item small[b-9fhi66xark] {
        font-size: 0.95rem !important;
    }
}
/* _content/Anekdotify.Frontend/Components/Pages/UserHub.razor.rz.scp.css */
.joke-content[b-dflywb0b3v] {
    max-width: 300px;
    word-wrap: break-word;
}

.card[b-dflywb0b3v] {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

.card:hover[b-dflywb0b3v] {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-group .btn[b-dflywb0b3v] {
    margin: 0;
}
@media (max-width: 576px) {
    .card-body[b-dflywb0b3v] {
        padding: 0.75rem 0.25rem;
    }
    .card-body i[b-dflywb0b3v] {
        font-size: 1.5rem !important;
    }
    .card-body h4[b-dflywb0b3v] {
        font-size: 1.1rem;
    }
    .card-body p[b-dflywb0b3v] {
        font-size: 0.85rem;
    }
}

/* Button positioning fixes */
.list-group-item[b-dflywb0b3v] {
    position: relative;
    overflow: visible;
}

.dropdown.position-absolute[b-dflywb0b3v] {
    z-index: 5;
}

.dropdown.position-absolute button[b-dflywb0b3v] {
    padding: 0.5rem !important;
    margin: -0.5rem;
    border-radius: 50%;
}

.dropdown.position-absolute button:hover[b-dflywb0b3v] {
    background-color: rgba(0,0,0,0.05);
}

@media (max-width: 576px) {
    .dropdown.position-absolute[b-dflywb0b3v] {
        top: 0.5rem !important;
        right: 0.5rem !important;
    }
    
    /* Existing mobile styles */
    .card-body[b-dflywb0b3v] {
        padding: 0.75rem 0.25rem;
    }
    .card-body i[b-dflywb0b3v] {
        font-size: 1.5rem !important;
    }
    .card-body h4[b-dflywb0b3v] {
        font-size: 1.1rem;
    }
    .card-body p[b-dflywb0b3v] {
        font-size: 0.85rem;
    }
}
