@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.g0t05e93zu.bundle.scp.css';

/* _content/Cykelfest/Components/Pages/Gallery.razor.rz.scp.css */
.media-grid[b-klmu849r26] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.media-card[b-klmu849r26] {
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}

.media-preview[b-klmu849r26] {
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    overflow: hidden;
}

    .media-preview img[b-klmu849r26],
    .media-preview video[b-klmu849r26] {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

.media-info[b-klmu849r26] {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

    .media-info .description[b-klmu849r26] {
        font-weight: 600;
    }

    .media-info .timestamp[b-klmu849r26] {
        color: #666;
        font-size: 0.8rem;
    }

    .media-info button[b-klmu849r26] {
        margin-top: 0.5rem;
        align-self: flex-start;
        background: #e44;
        color: white;
        border: none;
        padding: 0.3rem 0.6rem;
        border-radius: 4px;
        cursor: pointer;
    }

        .media-info button:hover[b-klmu849r26] {
            background: #c33;
        }

.modal-backdrop[b-klmu849r26] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-klmu849r26] {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}
/* _content/Cykelfest/Components/Pages/Upload.razor.rz.scp.css */
.upload-section[b-765w4ltjxy] {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    gap: 0.5rem;
}

.login-box[b-765w4ltjxy] {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    background: #f4f4f4;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    gap: 0.5rem;
}

    .login-box h4[b-765w4ltjxy] {
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        color: #333;
    }

.form-group[b-765w4ltjxy] {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.input[b-765w4ltjxy] {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.upload-button[b-765w4ltjxy] {
    display: inline-block;
    padding: 0.6rem 1rem;
    background-color: #007acc;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    user-select: none;
}

    .upload-button:hover[b-765w4ltjxy] {
        background-color: #005fa3;
    }

.selected-file[b-765w4ltjxy] {
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.btn[b-765w4ltjxy] {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

    .btn:disabled[b-765w4ltjxy] {
        background-color: #aaa;
        cursor: not-allowed;
    }

.error-message[b-765w4ltjxy] {
    color: #c00;
    margin-top: 0.5rem;
    font-weight: 600;
}

.overlay[b-765w4ltjxy] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.overlay-content[b-765w4ltjxy] {
    text-align: center;
    color: white;
    font-size: 1.2rem;
}

.spinner[b-765w4ltjxy] {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin-b-765w4ltjxy 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-765w4ltjxy {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
