@import '_content/Mat.UI/Mat.UI.3tlkc0d7lw.bundle.scp.css';
@import '_content/Mat.Wasm/Mat.Wasm.edjryjp0zi.bundle.scp.css';

/* /Components/AlbumEditor.razor.rz.scp.css */
/* ------------------------------
   PAGE WRAPPER
--------------------------------*/

.PageWrapper600[b-p2cf3ke5mx] {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    /* Title */
    .PageWrapper600 h3[b-p2cf3ke5mx] {
        margin-bottom: 20px;
        font-size: 1.4rem;
        font-weight: 600;
        color: #222;
    }

/* ------------------------------
   FORM ELEMENTS
--------------------------------*/

.mb-3[b-p2cf3ke5mx] {
    margin-bottom: 16px;
}

.form-label[b-p2cf3ke5mx] {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.form-control[b-p2cf3ke5mx] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .form-control:focus[b-p2cf3ke5mx] {
        outline: none;
        border-color: #1a4fdc;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(26, 79, 220, 0.15);
    }

/* Validation summary */
.validation-errors[b-p2cf3ke5mx],
.validation-message[b-p2cf3ke5mx] {
    color: #b00020;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ------------------------------
   BUTTON BAR
--------------------------------*/

.ButtonsBar[b-p2cf3ke5mx] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

    .ButtonsBar .btn[b-p2cf3ke5mx] {
        min-width: 90px;
    }

    /* Loading spinner alignment */
    .ButtonsBar Loading[b-p2cf3ke5mx] {
        display: flex;
        align-items: center;
    }

/* ------------------------------
   RESPONSIVE
--------------------------------*/

@media (max-width: 480px) {
    .PageWrapper600[b-p2cf3ke5mx] {
        padding: 16px 12px;
        border-radius: 8px;
    }

    .ButtonsBar[b-p2cf3ke5mx] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

        .ButtonsBar .btn[b-p2cf3ke5mx] {
            width: 100%;
        }
}
/* /Components/AlbumItemEditor.razor.rz.scp.css */
.preview-grid[b-o3c0dsytkr] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem;
}
/* /Components/ModeToggler.razor.rz.scp.css */
.wrapper[b-znvgz53o27] {
    display:flex;
    gap:10px;
    padding: 15px 0;
}


/* /Components/PhotoGrid.razor.rz.scp.css */
.photo-grid[b-6x5pbexfoe] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem;
}

.photo-grid-item[b-6x5pbexfoe] {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background-color: #111;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

    .photo-grid-item:hover[b-6x5pbexfoe] {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    }

.photo-grid-image-wrapper[b-6x5pbexfoe] {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* canvia-ho a 1/1 si vols quadrats */
    overflow: hidden;
}

    .photo-grid-image-wrapper img[b-6x5pbexfoe] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.25s ease-out;
    }

.photo-grid-item:hover .photo-grid-image-wrapper img[b-6x5pbexfoe] {
    transform: scale(1.03);
}

.photo-grid-caption[b-6x5pbexfoe] {
    padding: 0.4rem 0.6rem 0.5rem;
    font-size: 0.85rem;
    color: #f5f5f5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}


/*.thumb {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}*/

/* Image always fills square */
/*.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/

/* Play overlay */
.thumb-play[b-6x5pbexfoe] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

    .thumb-play i[b-6x5pbexfoe] {
        font-size: 2.8rem;
        color: white;
        opacity: 0.9;
        text-shadow: 0 4px 12px rgba(0,0,0,0.35);
        /*background: rgba(255,0,0,0.3);*/
    }

/* iOS-style selection check */
.thumb-check[b-6x5pbexfoe] {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 4;
}

    .thumb-check i[b-6x5pbexfoe] {
        font-size: 1.6rem;
        color: #3b82f6;
    }

/* Title bar */
.thumb-title[b-6x5pbexfoe] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    background: rgba(255,255,255,0.92);
    border-top: 1px solid #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.thumb-duration[b-6x5pbexfoe] {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    font-size: 0.70rem;
    font-weight: 600;
    color: white;
    background: rgba(0,0,0,0.55);
    border-radius: 4px;
    z-index: 6;
    pointer-events: none;
    line-height: 1;
    letter-spacing: 0.5px;
}


/* Responsiu per pantalles petites */
@media (max-width: 600px) {
    .photo-grid[b-6x5pbexfoe] {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.5rem;
    }

    .photo-grid-caption[b-6x5pbexfoe] {
        font-size: 0.8rem;
    }
}
/* /Components/UploadProgressGrid.razor.rz.scp.css */
/* ---------------------------------------------------------
   Responsive Grid Layout
--------------------------------------------------------- */

.upload-grid[b-m43vgyd36j] {
    display: grid;
    gap: 1.25rem;
    padding: .75rem;
    max-width: 1200px;
    margin: auto;
    grid-template-columns: 1fr; /* Mobile */
}

/* Tablet: 2 columns */
@media (min-width: 700px) {
    .upload-grid[b-m43vgyd36j] {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop: 3 columns */
@media (min-width: 1100px) {
    .upload-grid[b-m43vgyd36j] {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Summary card always spans full width */
.upload-summary[b-m43vgyd36j] {
    grid-column: 1 / -1;
}

/* ---------------------------------------------------------
   Card Styling
--------------------------------------------------------- */

.card[b-m43vgyd36j] {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

/* ---------------------------------------------------------
   Typography
--------------------------------------------------------- */

.summary-header[b-m43vgyd36j],
.item-header[b-m43vgyd36j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-header[b-m43vgyd36j] {
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .2px;
}

    .summary-header span:first-child[b-m43vgyd36j] {
        margin-right: .75rem;
    }

.item-title[b-m43vgyd36j] {
    font-weight: 600;
    font-size: .95rem;
    color: #333;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Action Buttons
--------------------------------------------------------- */

.item-actions[b-m43vgyd36j] {
    display: flex;
    gap: .6rem;
}

.icon-btn[b-m43vgyd36j] {
    background: transparent;
    border: none;
    font-size: 1.15rem;
    cursor: pointer;
    color: #666;
    transition: color .15s ease;
}

    .icon-btn:hover[b-m43vgyd36j] {
        color: #000;
    }

    .icon-btn.danger[b-m43vgyd36j] {
        color: #d9534f;
    }

        .icon-btn.danger:hover[b-m43vgyd36j] {
            color: #b52b27;
        }

/* ---------------------------------------------------------
   Progress Bar
--------------------------------------------------------- */

.progress[b-m43vgyd36j] {
    background: #f1f3f5;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.progress-bar[b-m43vgyd36j] {
    background: linear-gradient(90deg, #4e9af1, #1c6cd5);
    height: 100%;
    border-radius: 6px;
    transition: width .35s ease-out;
}

    /* Optional subtle shine animation */
    .progress-bar.animated[b-m43vgyd36j]::after {
        content: "";
        position: absolute;
        top: 0;
        left: -40%;
        width: 40%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
        animation: shine-b-m43vgyd36j 1.8s infinite;
    }

@keyframes shine-b-m43vgyd36j {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.item-footer[b-m43vgyd36j] {
    display: grid;
    grid-template-columns: 3rem 1fr 3.5rem;
    font-size: .8rem;
    color: #666;
    margin-top: .35rem;
}


/* ---------------------------------------------------------
   Fade-in Animation
--------------------------------------------------------- */

.fade-in[b-m43vgyd36j] {
    animation: fadeIn-b-m43vgyd36j .25s ease-out;
}

@keyframes fadeIn-b-m43vgyd36j {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Layout */
.layout-root[b-kryt3ie7yf] {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}


header[b-kryt3ie7yf] {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.logo img[b-kryt3ie7yf] {
    height:32px;
    width:auto;
}

.menu-toggle[b-kryt3ie7yf] {
    font-size: 2.0rem;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0 0 10px 10px;
}

/* Main layout */
.main-container[b-kryt3ie7yf] {
    display: flex;
    min-height: calc(100vh - 60px);
    overflow-y: auto;
}


/* Sidebar */
.sidebar[b-kryt3ie7yf] {
    width: 220px;
    background: #f5f5f5;
    padding: 20px 0 0 0;
    transition: transform 0.3s ease;
}

/* Desktop behavior */
@media (min-width: 769px) {
    .sidebar[b-kryt3ie7yf] {
        transform: translateX(0); /* always visible */
    }
}

/* Mobile behavior */
@media (max-width: 768px) {

    .sidebar[b-kryt3ie7yf] {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1001;
        transform: translateX(-100%);
    }

        .sidebar.open[b-kryt3ie7yf] {
            transform: translateX(0);
        }

    main[b-kryt3ie7yf] {
        width: 100%;
    }

    .overlay[b-kryt3ie7yf] {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1000;
    }
}

/* Main content */
main[b-kryt3ie7yf] {
    flex: 1;
    padding: 20px;
}

/* Menu */
.menu a[b-kryt3ie7yf] {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
}
/* /Layout/NavMenu.razor.rz.scp.css */


nav[b-0ntjq675kt] {
    padding:20px 5px 10px 20px;
    display:flex;
    flex-direction:column;

}

/*    nav a, nav ::deep a {
        display: block;
    }*/

    @media(pointer:coarse){
        nav[b-0ntjq675kt]{

        gap:20px;
        }
    }
/* /Pages/Auth/LoginPage.razor.rz.scp.css */
/* Page background */
body[b-i9x1r63zu6] {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login container */
.login-box[b-i9x1r63zu6] {
    background: #ffffff;
    padding: 40px;
   /* width: 100%;*/
    max-width: 400px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: fadeIn-b-i9x1r63zu6 0.6s ease-in-out;
    margin:auto;
}

    /* Title */
    .login-box h2[b-i9x1r63zu6] {
        margin-bottom: 25px;
        color: #333;
        font-weight: 600;
    }

    /* Inputs */
    .login-box input[type="text"][b-i9x1r63zu6],
    .login-box input[type="password"][b-i9x1r63zu6] {
        width: 100%;
        padding: 12px 14px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

    .login-box input:focus[b-i9x1r63zu6] {
        border-color: #667eea;
        outline: none;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    }

/* Remember me */
.remember-me[b-i9x1r63zu6] {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    gap: 8px;
    text-align: left;
}

/* Link */
.login-box a[b-i9x1r63zu6] {
    display: block;
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

    .login-box a:hover[b-i9x1r63zu6] {
        color: #764ba2;
        text-decoration: underline;
    }

/* Button */
.login-box button[b-i9x1r63zu6] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .login-box button:hover[b-i9x1r63zu6] {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(118, 75, 162, 0.3);
    }

    .login-box button:active[b-i9x1r63zu6] {
        transform: translateY(0);
        box-shadow: none;
    }

/* Error message */
.error[b-i9x1r63zu6] {
    margin-top: 15px;
    font-size: 13px;
    color: #e74c3c;
}

/* Fade animation */
@keyframes fadeIn-b-i9x1r63zu6 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .login-box[b-i9x1r63zu6] {
        padding: 25px;
        border-radius: 12px;
    }
}
/* /Pages/HomePage.razor.rz.scp.css */


@media(pointer:fine){
    .mat-list[b-7p677xm2w4] {
        display: grid;
        grid-template-columns: min-content min-content 1fr min-content min-content;
    }
}
@media(pointer:coarse) {
    .mat-list-item-content[b-7p677xm2w4] {
        display: grid;
        grid-template-columns: min-content min-content 1fr ;
        grid-column-gap:10px;
    }

    .imgs[b-7p677xm2w4] {
        display: none;
    }
    .videos[b-7p677xm2w4] {
        display: none;
    }
}
