html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: #f6f8fb;
    color: #17202f;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
    min-height: 100vh;
}

.app-topbar {
    padding: 1rem 0;
}

.brand-mark {
    align-items: center;
    color: #17202f;
    display: inline-flex;
    font-weight: 700;
    gap: .65rem;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-mark:hover {
    color: #0f6bff;
}

.brand-logo {
    display: block;
    height: 2.6rem;
    width: 3.1rem;
}

.hero-grid {
    align-items: stretch;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    padding: 1.5rem 0 2rem;
}

.hero-copy {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 28rem;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    font-weight: 750;
    line-height: .95;
    letter-spacing: 0;
    margin: 0 0 1rem;
}

.hero-lede {
    color: #526071;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 42rem;
}

.content-hero {
    border-bottom: 1px solid #dfe5ee;
    padding: 3rem 0 2rem;
}

.content-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 1rem;
    max-width: 56rem;
}

.content-hero p {
    color: #526071;
    font-size: 1.15rem;
    line-height: 1.65;
    max-width: 48rem;
}

.eyebrow {
    color: #0f6bff !important;
    font-size: .82rem !important;
    font-weight: 750;
    letter-spacing: 0;
    margin-bottom: .8rem !important;
    text-transform: uppercase;
}

.content-section {
    max-width: 54rem;
    padding: 2rem 0 0;
}

.content-section h2,
.content-grid h2 {
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: 0;
}

.content-section p,
.content-grid p {
    color: #526071;
    line-height: 1.65;
}

.content-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 2rem 0 0;
}

.content-grid > div {
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    padding: 1.25rem;
}

.upload-panel,
.bin-panel,
.files-panel {
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(23, 32, 47, .08);
}

.upload-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
    padding: 1.25rem;
}

.drop-card {
    align-items: center;
    background: #f8fbff;
    border: 2px dashed #a9b9d0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    justify-content: center;
    min-height: 16rem;
    padding: 2rem;
    text-align: center;
}

.drop-card .fa-cloud-upload-alt {
    color: #0f6bff;
    font-size: 2rem;
}

.quick-stats {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-stat {
    background: #f6f8fb;
    border-radius: 8px;
    padding: .85rem;
}

.quick-stat span {
    color: #6c7787;
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
}

.quick-stat strong {
    display: block;
    font-size: .95rem;
    margin-top: .25rem;
}

.bin-header {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.bin-title {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 750;
    line-height: 1;
    margin: 0;
}

.bin-panel,
.files-panel {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.table-modern {
    margin-bottom: 0;
}

.table-modern thead th {
    color: #6c7787;
    font-size: .78rem;
    text-transform: uppercase;
}

.fileUpload {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.fileUpload input.upload {
    cursor: pointer;
    filter: alpha(opacity=0);
    font-size: 20px;
    height: 100%;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

#fileCount {
    display: none;
    margin: 1rem 0;
}

#fileDrop {
    align-items: center;
    background: rgba(15, 107, 255, .92);
    border: 7px dashed rgba(255, 255, 255, .75);
    color: #fff;
    display: flex;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 700;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: .98;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 999;
}

#fileDrop::after {
    content: "Drop files to upload";
}

#fileList {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

#fileList p {
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    margin: 0 0 .75rem;
    padding: .9rem;
}

.thumb {
    padding: 1px;
}

.progress {
    height: 8px;
    margin-bottom: 0 !important;
}

.link-custom {
    text-decoration: none;
}

.app-footer {
    border-top: 1px solid #dfe5ee;
    margin-top: 2rem;
    padding: 1rem 0 2rem;
}

@media screen and (max-width: 767px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
        padding-top: 1rem;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .bin-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media screen and (min-width: 576px) {
    .mobile-break {
        display: none;
    }
}
