@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-vu3l79dh5b] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-vu3l79dh5b] {
    flex: 1;
}

.sidebar[b-vu3l79dh5b] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-vu3l79dh5b] {
    background-color: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-vu3l79dh5b]  a, .top-row[b-vu3l79dh5b]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: var(--bs-body-color);
    }

    .top-row[b-vu3l79dh5b]  a:hover, .top-row[b-vu3l79dh5b]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-vu3l79dh5b]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-vu3l79dh5b] {
        justify-content: space-between;
    }

    .top-row[b-vu3l79dh5b]  a, .top-row[b-vu3l79dh5b]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-vu3l79dh5b] {
        flex-direction: row;
    }

    .sidebar[b-vu3l79dh5b] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-vu3l79dh5b] {
        position: sticky;
        top: 0;
        z-index: 1030; /* Bootstrap dropdown z-index is 1000, navbar is 1030 */
    }

    .top-row.auth[b-vu3l79dh5b]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-vu3l79dh5b], article[b-vu3l79dh5b] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-vu3l79dh5b] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #000;
}

    #blazor-error-ui .dismiss[b-vu3l79dh5b] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-sq6n6jbxxv],
.components-reconnect-repeated-attempt-visible[b-sq6n6jbxxv],
.components-reconnect-failed-visible[b-sq6n6jbxxv],
.components-pause-visible[b-sq6n6jbxxv],
.components-resume-failed-visible[b-sq6n6jbxxv],
.components-rejoining-animation[b-sq6n6jbxxv] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-retrying[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-failed[b-sq6n6jbxxv],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-sq6n6jbxxv] {
    display: block;
}


#components-reconnect-modal[b-sq6n6jbxxv] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-sq6n6jbxxv 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-sq6n6jbxxv 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-sq6n6jbxxv 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-sq6n6jbxxv]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-sq6n6jbxxv 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-sq6n6jbxxv {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-sq6n6jbxxv {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-sq6n6jbxxv {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-sq6n6jbxxv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-sq6n6jbxxv] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-sq6n6jbxxv] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-sq6n6jbxxv] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-sq6n6jbxxv] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-sq6n6jbxxv] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-sq6n6jbxxv] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-sq6n6jbxxv 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-sq6n6jbxxv] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-sq6n6jbxxv {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Shared/PhotoTagEditor.razor.rz.scp.css */
/* Photo Tag Editor Styles - Full Screen Mode */

.photo-tag-editor-fullscreen[b-sfxgbdwazj] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bs-body-bg);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.photo-tag-header[b-sfxgbdwazj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--bs-secondary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.photo-tag-header h5[b-sfxgbdwazj] {
    margin: 0;
    color: var(--bs-body-color);
}

.photo-tag-content[b-sfxgbdwazj] {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 1.5rem;
    gap: 1.5rem;
}

.photo-display-section[b-sfxgbdwazj] {
    flex: 2;
    display: flex;
    flex-direction: column;
    overflow: auto;
    background-color: var(--bs-secondary-bg);
    border-radius: 8px;
    padding: 1rem;
}

.photo-container[b-sfxgbdwazj] {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    cursor: crosshair;
    background-color: var(--bs-body-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.photo-image[b-sfxgbdwazj] {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

.photo-instructions[b-sfxgbdwazj] {
    text-align: center;
    padding: 1rem;
    color: var(--bs-secondary-color);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.photo-tag-box[b-sfxgbdwazj] {
    position: absolute;
    border: 3px solid #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.photo-tag-box:hover[b-sfxgbdwazj] {
    background-color: rgba(13, 110, 253, 0.2);
    border-color: #0a58ca;
    border-width: 4px;
}

.photo-tag-box.selected[b-sfxgbdwazj] {
    border-color: #ffc107;
    border-width: 4px;
    background-color: rgba(255, 193, 7, 0.15);
    z-index: 10;
}

.photo-tag-box.creating[b-sfxgbdwazj] {
    border-color: #198754;
    border-style: dashed;
    background-color: rgba(25, 135, 84, 0.15);
}

.tag-label[b-sfxgbdwazj] {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    background-color: rgba(13, 110, 253, 0.95);
    color: white;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0 0 4px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.photo-tag-box.creating .tag-label[b-sfxgbdwazj] {
    background-color: rgba(25, 135, 84, 0.95);
}

.photo-tag-box.selected .tag-label[b-sfxgbdwazj] {
    background-color: rgba(255, 193, 7, 0.95);
    color: #000;
}

.tag-name[b-sfxgbdwazj] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-delete-btn[b-sfxgbdwazj] {
    margin-left: 4px;
    padding: 0 4px;
    line-height: 1;
    font-size: 0.875rem;
    opacity: 0.9;
}

.tag-delete-btn:hover[b-sfxgbdwazj] {
    opacity: 1;
}

/* Tags List Section */
.tags-list-section[b-sfxgbdwazj] {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    background-color: var(--bs-secondary-bg);
    border-radius: 8px;
    padding: 1rem;
    overflow: hidden;
}

.tags-list-section h6[b-sfxgbdwazj] {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bs-border-color);
    color: var(--bs-body-color);
}

.tags-list[b-sfxgbdwazj] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tag-list-item[b-sfxgbdwazj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--bs-body-bg);
    border: 2px solid var(--bs-border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-list-item:hover[b-sfxgbdwazj] {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
    transform: translateY(-2px);
}

.tag-list-item.selected[b-sfxgbdwazj] {
    border-color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.tag-info[b-sfxgbdwazj] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Search results styling */
.soldier-picker-modal .search-results[b-sfxgbdwazj] {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
}

.soldier-picker-modal .search-result-item[b-sfxgbdwazj] {
    padding: 12px;
    border-bottom: 1px solid var(--bs-border-color);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.soldier-picker-modal .search-result-item:hover[b-sfxgbdwazj] {
    background-color: var(--bs-secondary-bg);
}

.soldier-picker-modal .search-result-item.selected[b-sfxgbdwazj] {
    background-color: rgba(13, 110, 253, 0.1);
    border-left: 4px solid #0d6efd;
}

.soldier-picker-modal .search-result-item:last-child[b-sfxgbdwazj] {
    border-bottom: none;
}

.soldier-info[b-sfxgbdwazj] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .photo-tag-content[b-sfxgbdwazj] {
        flex-direction: column;
    }
    
    .tags-list-section[b-sfxgbdwazj] {
        max-width: none;
        max-height: 300px;
    }
    
    .photo-display-section[b-sfxgbdwazj] {
        flex: none;
    }
}

@media (max-width: 768px) {
    .photo-tag-header[b-sfxgbdwazj] {
        padding: 0.75rem 1rem;
    }
    
    .photo-tag-header h5[b-sfxgbdwazj] {
        font-size: 1rem;
    }
    
    .photo-tag-content[b-sfxgbdwazj] {
        padding: 1rem;
        gap: 1rem;
    }
    
    .tag-label[b-sfxgbdwazj] {
        font-size: 0.65rem;
        bottom: -22px;
    }
    
    .photo-tag-box[b-sfxgbdwazj] {
        border-width: 2px;
    }
    
    .photo-tag-box:hover[b-sfxgbdwazj],
    .photo-tag-box.selected[b-sfxgbdwazj] {
        border-width: 3px;
    }
    
    .tags-list-section[b-sfxgbdwazj] {
        min-width: 100%;
        max-height: 250px;
    }
}

/* Animation for new tags */
@keyframes tagAppear-b-sfxgbdwazj {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.photo-tag-box[b-sfxgbdwazj] {
    animation: tagAppear-b-sfxgbdwazj 0.3s ease;
}

/* Scrollbar styling for tags list */
.tags-list[b-sfxgbdwazj]::-webkit-scrollbar {
    width: 8px;
}

.tags-list[b-sfxgbdwazj]::-webkit-scrollbar-track {
    background: var(--bs-secondary-bg);
    border-radius: 4px;
}

.tags-list[b-sfxgbdwazj]::-webkit-scrollbar-thumb {
    background: var(--bs-border-color);
    border-radius: 4px;
}

.tags-list[b-sfxgbdwazj]::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary-color);
}
