html,
body {
    min-height: 100%;
}

body {
    background: #f4f7fb;
    color: #172033;
    font-family: "Segoe UI", Arial, sans-serif;
}

a {
    text-decoration: none;
}

.page-shell {
    min-height: calc(100vh - 56px);
}

.navbar-brand {
    letter-spacing: .01em;
}

.user-menu-button {
    border: 0;
    border-radius: 999px;
    padding: 0;
}

.user-menu-button:focus {
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .18);
}

.user-menu-avatar {
    align-items: center;
    background: #f8fafc;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    color: #172033;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    object-fit: cover;
    width: 2.25rem;
}

.user-menu-avatar-placeholder {
    background: #fff;
    border-color: rgba(255, 255, 255, .9);
    color: #0f172a;
}

.account-photo-preview {
    border: 3px solid #e2e8f0;
    border-radius: 999px;
    height: 7rem;
    object-fit: cover;
    width: 7rem;
}

.auth-card {
    max-width: 460px;
    border: 0;
    border-radius: .75rem;
}

.card {
    border-color: #e2e8f0;
    border-radius: .75rem;
}

.card-footer {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.form-control,
.form-select {
    border-color: #cbd5e1;
    border-radius: .5rem;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 .25rem rgba(59, 130, 246, .15);
}

.video-card {
    overflow: hidden;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .75rem 1.5rem rgba(15, 23, 42, .12) !important;
}

.video-poster-link {
    background: #0f172a;
    display: block;
}

.video-poster-link img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.video-title {
    color: #172033;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.video-action-icon {
    height: 22px;
    opacity: .55;
    width: 22px;
}

.video-card-menu {
    position: absolute;
    right: .5rem;
    top: .5rem;
    z-index: 4;
}

.video-card-menu-button {
    align-items: center;
    border-radius: 999px;
    box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .18);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 2rem;
}

.video-card-menu .dropdown-menu {
    z-index: 5;
}

.btn-icon {
    filter: brightness(0) invert(1);
    height: 14px;
    margin-right: .35rem;
    width: 14px;
}

.empty-state {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: .75rem;
}

.player-card {
    background: #0f172a;
    border-radius: .75rem;
    overflow: hidden;
}

.player-card .video-js {
    background-color: #0f172a;
}

.player-card-narrow {
    max-width: 860px;
}

.player-card-narrow .video-js {
    height: 70vh !important;
    max-height: 70vh;
    min-height: 0;
    padding-top: 0 !important;
}

.player-card-narrow .vjs-tech {
    height: 100% !important;
    object-fit: contain;
    position: static;
    width: 100% !important;
}

.player-card-narrow .vjs-fluid {
    padding-top: 0;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

input[type="file"].form-control {
    padding-bottom: .45rem;
    padding-top: .45rem;
}

.upload-progress .progress {
    background-color: #e2e8f0;
    height: .75rem;
}

.conversion-progress {
    padding: .25rem 0 .5rem;
}

.conversion-progress .progress {
    background-color: #e2e8f0;
    height: .75rem;
}

.video-edit-poster {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}
