/* =========================================================
   VIDEO BOOTH - WEDDING THEME
   CLEAN VERSION
   TANPA FRAME VIDEO
   RATIO 9 : 16
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --wedding-bg: #f8f4ee;
    --wedding-card: #fffdf9;
    --wedding-text: #4a4038;
    --wedding-muted: #8c8177;

    --wedding-gold: #b89b63;
    --wedding-gold-dark: #9d814e;
    --wedding-gold-light: #dec48c;

    --wedding-border: #e8ded1;

    --wedding-navy: #0c1c31;
    --wedding-navy-2: #142b48;
}


/* =========================================================
   BOX SIZING
========================================================= */

#videoPage *,
#videoPage *::before,
#videoPage *::after {
    box-sizing: border-box;
}


/* =========================================================
   VIDEO PAGE
========================================================= */

#videoPage {
    --navy: #0c1c31;
    --navy-2: #142b48;
    --gold: #b99655;
    --gold-light: #dec48c;
    --cream: #faf7f0;
    --white: #ffffff;
    --text: #172337;
    --muted: #7e8794;

    position: relative;

    width: 100%;
    min-height: 100vh;
    height: auto;

    padding: 32px 20px 55px;

    overflow-x: hidden;
    overflow-y: visible;

    color: var(--wedding-text);

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(184, 155, 99, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(184, 155, 99, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #faf7f2 0%,
            #f5efe7 50%,
            #fbf8f3 100%
        );
}


/* =========================================================
   INNER CONTAINER
========================================================= */

#videoPage .inner-container {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 820px;

    margin: 0 auto;
    padding: 0;

    min-height: 0;
    height: auto;

    overflow: visible;
}


/* =========================================================
   DECORATIVE HEART
========================================================= */

#videoPage .inner-container::before {
    content: "♡";

    display: block;

    width: fit-content;

    margin: 0 auto 9px;

    color: var(--wedding-gold);

    font-size: 21px;
    line-height: 1;
}


/* =========================================================
   BRAND
========================================================= */

#videoPage .luxury-video-brand {
    position: relative;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 0 auto 14px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.23em;

    text-align: center;
}


#videoPage .brand-line {
    width: 32px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}


#videoPage .brand-line:last-child {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}


/* =========================================================
   BACK BUTTON
========================================================= */

#videoPage .luxury-back,
#videoPage .back-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 37px;

    padding: 8px 13px;

    border: 1px solid var(--wedding-border);
    border-radius: 11px;

    background: rgba(
        255,
        253,
        249,
        0.90
    );

    color: #75685e;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 4px 15px
        rgba(
            80,
            60,
            40,
            0.05
        );

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


#videoPage .luxury-back:hover,
#videoPage .back-button:hover {
    transform: translateX(-2px);

    color: var(--wedding-gold-dark);

    border-color: var(--wedding-gold);

    background: #fffdf9;
}


/* =========================================================
   PAGE HEADING
========================================================= */

#videoPage .luxury-heading,
#videoPage .page-heading {
    width: 100%;
    max-width: 650px;

    margin: 0 auto 22px;

    text-align: center;
}


#videoPage .eyebrow,
#videoPage .page-heading .eyebrow {
    margin-bottom: 6px;

    color: var(--wedding-gold-dark);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.23em;

    text-transform: uppercase;
}


#videoPage .luxury-heading h1,
#videoPage .page-heading h1 {
    margin: 7px 0 8px;

    color: #40362f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            29px,
            5vw,
            44px
        );

    font-weight: 500;

    line-height: 1.06;
}


#videoPage .luxury-heading p,
#videoPage .page-heading p {
    max-width: 560px;

    margin: 0 auto;

    color: var(--wedding-muted);

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   HEADING DIVIDER
========================================================= */

#videoPage .heading-divider {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 11px 0;
}


#videoPage .heading-divider::before,
#videoPage .heading-divider::after {
    content: "";

    width: 45px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}


#videoPage .heading-divider::after {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}


#videoPage .heading-divider span {
    color: var(--gold);

    font-size: 12px;
}


/* =========================================================
   SUCCESS ALERT
========================================================= */

#videoPage .alert-success {
    width: 100%;
    max-width: 680px;

    margin: 0 auto 16px;

    padding: 12px 16px;

    border: 1px solid #86efac;
    border-radius: 11px;

    background: #dcfce7;

    color: #166534;

    text-align: center;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.5;
}


/* =========================================================
   GENERAL FORM CARD
========================================================= */

#videoPage .form-card,
#videoPage .video-card,
#videoPage .card {
    position: relative;

    width: 100%;
    max-width: 680px;

    margin: 0 auto;

    padding: 22px;

    border: 1px solid var(--wedding-border);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(250, 247, 240, 0.96)
        );

    box-shadow:
        0 20px 50px
        rgba(
            12,
            28,
            49,
            0.09
        ),
        0 2px 7px
        rgba(
            12,
            28,
            49,
            0.035
        );

    backdrop-filter: blur(8px);

    height: auto;
    min-height: 0;

    overflow: visible;
}


/* =========================================================
   CAMERA SECTION
========================================================= */

#videoPage .camera-section {
    width: 100%;

    height: auto;
    min-height: 0;

    overflow: visible;
}


/* =========================================================
   CAMERA BOX
   ALWAYS 9 : 16
========================================================= */

#videoPage .camera-box {
    position: relative;

    width: 100%;
    max-width: 360px;

    margin: 0 auto;

    aspect-ratio: 9 / 16;

    height: auto;
    min-height: 0;
    max-height: none;

    overflow: hidden;

    border: 0;
    border-radius: 19px;

    background: #060b12;

    box-shadow:
        0 20px 48px
        rgba(
            12,
            28,
            49,
            0.14
        );
}


/* =========================================================
   VIDEO ELEMENT
========================================================= */

#videoPage #videoCamera,
#videoPage #recordedVideo {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: transparent;

    border: 0;
}


/* =========================================================
   LIVE CAMERA
========================================================= */

#videoPage #videoCamera {
    transform: scaleX(-1);

    z-index: 1;
}


/* =========================================================
   RECORDED VIDEO
========================================================= */

#videoPage #recordedVideo {
    transform: none;

    z-index: 1;

    object-fit: cover;
}


/* =========================================================
   CAMERA DARK OVERLAY
========================================================= */

#videoPage .camera-box::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.16),
            transparent 25%,
            transparent 70%,
            rgba(0, 0, 0, 0.24)
        );
}


/* =========================================================
   PLACEHOLDER
========================================================= */

#videoPage .camera-placeholder {
    position: absolute;

    inset: 0;

    z-index: 3;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 25px;

    text-align: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            #263a4f,
            #101d2c
        );
}


/* =========================================================
   PLACEHOLDER ICON
========================================================= */

#videoPage .camera-placeholder-icon {
    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.15
        );

    color: white;

    font-size: 28px;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            0.10
        );
}


#videoPage .camera-placeholder h3 {
    margin: 0 0 6px;

    color: white;

    font-family:
        Georgia,
        serif;

    font-size: 18px;

    line-height: 1.3;
}


#videoPage .camera-placeholder p {
    max-width: 340px;

    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.80
        );

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   RECORDING BADGE
========================================================= */

#videoPage .recording-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 6px 9px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.20
        );

    border-radius: 999px;

    background:
        rgba(
            6,
            11,
            18,
            0.58
        );

    backdrop-filter: blur(7px);

    -webkit-backdrop-filter: blur(7px);

    color: white;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.08em;
}


#videoPage .recording-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #ff6d6d;

    animation:
        videoRecordingPulse
        1s infinite;
}


@keyframes videoRecordingPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(.75);
    }
}


/* =========================================================
   TIMER
========================================================= */

#videoPage .timer-overlay {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 10;

    padding: 6px 10px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.20
        );

    border-radius: 999px;

    background:
        rgba(
            6,
            11,
            18,
            0.58
        );

    backdrop-filter: blur(7px);

    -webkit-backdrop-filter: blur(7px);

    color: white;

    font-family:
        Georgia,
        serif;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.06em;

    font-variant-numeric:
        tabular-nums;
}


/* =========================================================
   CAMERA OVERLAY
========================================================= */

#videoPage .camera-overlay {
    position: absolute;

    inset: 0;

    z-index: 5;

    pointer-events: none;
}


/* =========================================================
   CAMERA CORNERS
========================================================= */

#videoPage .camera-corner {
    position: absolute;

    z-index: 5;

    width: 31px;
    height: 31px;

    border-color:
        rgba(
            255,
            255,
            255,
            0.88
        );

    pointer-events: none;
}


#videoPage .camera-corner.top-left {
    top: 14px;
    left: 14px;

    border-top: 2px solid;
    border-left: 2px solid;

    border-right: 0;
    border-bottom: 0;
}


#videoPage .camera-corner.top-right {
    top: 14px;
    right: 14px;

    border-top: 2px solid;
    border-right: 2px solid;

    border-left: 0;
    border-bottom: 0;
}


#videoPage .camera-corner.bottom-left {
    bottom: 14px;
    left: 14px;

    border-bottom: 2px solid;
    border-left: 2px solid;

    border-right: 0;
    border-top: 0;
}


#videoPage .camera-corner.bottom-right {
    right: 14px;
    bottom: 14px;

    border-bottom: 2px solid;
    border-right: 2px solid;

    border-left: 0;
    border-top: 0;
}


/* =========================================================
   CAMERA TOP LABEL
========================================================= */

#videoPage .camera-top-label {
    position: absolute;

    z-index: 6;

    top: 15px;
    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 7px;

    color: white;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.17em;

    white-space: nowrap;
}


#videoPage .live-dot {
    color: #ff6d6d;
}


/* =========================================================
   CAMERA BOTTOM LABEL
========================================================= */

#videoPage .camera-bottom-label {
    position: absolute;

    z-index: 6;

    bottom: 15px;
    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.20em;

    white-space: nowrap;
}


/* =========================================================
   CAMERA ACTIONS
========================================================= */

#videoPage .camera-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 13px;

    width: 100%;

    height: auto;
    min-height: 0;

    overflow: visible;
}


/* =========================================================
   CAMERA BUTTON
========================================================= */

#videoPage .camera-button {
    min-height: 43px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 10px 17px;

    border:
        1px solid
        rgba(
            12,
            28,
            49,
            0.14
        );

    border-radius: 12px;

    background: white;

    color: var(--navy);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease,
        opacity .2s ease;
}


#videoPage .camera-button:hover {
    transform:
        translateY(-1px);

    border-color:
        var(--gold);

    box-shadow:
        0 7px 18px
        rgba(
            80,
            60,
            40,
            0.09
        );

    background:
        #fffdf9;
}


#videoPage .camera-button:active {
    transform:
        translateY(0);
}


#videoPage .camera-button:disabled {
    opacity: .55;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   PRIMARY CAMERA BUTTON
========================================================= */

#videoPage .camera-button.primary {
    border:
        1px solid
        var(--wedding-gold-dark);

    background:
        linear-gradient(
            135deg,
            #c6aa76,
            #aa8b56
        );

    color: white;

    box-shadow:
        0 8px 22px
        rgba(
            157,
            129,
            78,
            0.20
        );
}


#videoPage .camera-button.primary:hover {
    border-color:
        var(--wedding-gold-dark);

    background:
        linear-gradient(
            135deg,
            #c6aa76,
            #aa8b56
        );

    box-shadow:
        0 12px 26px
        rgba(
            157,
            129,
            78,
            0.25
        );
}


/* =========================================================
   DANGER BUTTON
========================================================= */

#videoPage .camera-button.danger {
    border:
        1px solid
        #9c2b2b;

    background:
        #9c2b2b;

    color: white;
}


#videoPage .camera-button.danger:hover {
    background:
        #842525;

    border-color:
        #842525;
}


/* =========================================================
   FORM
========================================================= */

#videoPage .form-group {
    margin-top: 18px;
}


#videoPage .form-label,
#videoPage label {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 9px;

    color: #5a4e45;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.2px;
}


/* =========================================================
   FORM CONTROL
========================================================= */

#videoPage .form-control {
    display: block;

    width: 100%;

    min-height: 52px;

    padding: 13px 15px;

    border:
        1px solid
        #ddd1c3;

    border-radius: 12px;

    outline: none;

    background:
        #fffefa;

    color: var(--text);

    font-family: inherit;

    font-size: 16px;

    line-height: 1.5;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


#videoPage .form-control::placeholder {
    color:
        #a2a8af;
}


#videoPage .form-control:focus {
    border-color:
        var(--gold);

    background:
        #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(
            184,
            155,
            99,
            0.12
        );
}


/* =========================================================
   TEXTAREA
========================================================= */

#videoPage textarea.form-control {
    min-height: 100px;

    resize: vertical;
}


/* =========================================================
   FILE INPUT
========================================================= */

#videoPage #videoInput {
    display: none;
}


/* =========================================================
   VIDEO PREVIEW
========================================================= */

#videoPage .video-preview {
    width: 100%;

    margin-top: 17px;

    padding: 0;

    overflow: hidden;

    border-radius: 13px;

    background:
        #060b12;

    box-shadow:
        0 18px 40px
        rgba(
            12,
            28,
            49,
            0.14
        );
}


#videoPage .video-preview video {
    display: block;

    width: 100%;

    max-width: 500px;

    height: auto;

    margin: 0 auto;

    object-fit: contain;

    background:
        #060b12;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

#videoPage .submit-button {
    width: 100%;

    min-height: 49px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 15px;

    padding: 12px 17px;

    border:
        1px solid
        var(--wedding-gold-dark);

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #1c4038,
            #102c27
        );

    color: white;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(
            16,
            60,
            50,
            0.16
        );

    transition:
        transform .2s ease,
        opacity .2s ease,
        box-shadow .2s ease;
}


#videoPage .submit-button:hover:not(:disabled) {
    transform:
        translateY(-1px);

    box-shadow:
        0 13px 28px
        rgba(
            16,
            60,
            50,
            0.22
        );
}


#videoPage .submit-button:active:not(:disabled) {
    transform:
        translateY(0);
}


#videoPage .submit-button:disabled {
    opacity: .55;

    cursor: wait;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   SUBMIT STATUS
========================================================= */

#videoPage .video-submit-status,
#videoSubmitStatus {
    width: 100%;
    max-width: 680px;

    margin: 13px auto 0;

    padding: 12px 16px;

    border-radius: 11px;

    text-align: center;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.5;

    box-sizing: border-box;
}


#videoPage #videoSubmitStatus.success,
#videoSubmitStatus.success {
    display: block;

    background:
        #dcfce7;

    color:
        #166534;

    border:
        1px solid #86efac;
}


#videoPage #videoSubmitStatus.error,
#videoSubmitStatus.error {
    display: block;

    background:
        #fee2e2;

    color:
        #991b1b;

    border:
        1px solid #fca5a5;
}


/* =========================================================
   HIDDEN
========================================================= */

#videoPage .hidden {
    display: none !important;
}


/* =========================================================
   BUTTON GENERAL
========================================================= */

#videoPage button {
    font-family: inherit;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease,
        opacity .2s ease;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    #videoPage {
        width: 100%;

        min-height: 100dvh;

        height: auto;

        padding:
            20px
            11px
            40px;

        overflow-x: hidden;
        overflow-y: visible;
    }


    /* =====================================================
       CONTAINER
    ===================================================== */

    #videoPage .inner-container {
        width: 100%;

        min-height: 0;

        height: auto;

        padding: 0;

        overflow: visible;
    }


    /* =====================================================
       HEART
    ===================================================== */

    #videoPage .inner-container::before {
        font-size: 18px;

        margin-bottom: 7px;
    }


    /* =====================================================
       BRAND
    ===================================================== */

    #videoPage .luxury-video-brand {
        margin-bottom: 7px;

        font-size: 6px;

        letter-spacing: 0.16em;
    }


    #videoPage .brand-line {
        width: 18px;
    }


    /* =====================================================
       BACK
    ===================================================== */

    #videoPage .luxury-back,
    #videoPage .back-button {
        min-height: 34px;

        padding:
            6px 10px;

        font-size: 9px;

        border-radius: 10px;
    }


    /* =====================================================
       HEADING
    ===================================================== */

    #videoPage .luxury-heading,
    #videoPage .page-heading {
        margin-bottom: 17px;
    }


    #videoPage .eyebrow,
    #videoPage .page-heading .eyebrow {
        font-size: 6.5px;

        letter-spacing: 0.17em;
    }


    #videoPage .luxury-heading h1,
    #videoPage .page-heading h1 {
        margin-top: 6px;

        margin-bottom: 7px;

        font-size: 26px;

        line-height: 1.06;
    }


    #videoPage .luxury-heading p,
    #videoPage .page-heading p {
        padding:
            0 5px;

        font-size: 10px;

        line-height: 1.5;
    }


    /* =====================================================
       DIVIDER
    ===================================================== */

    #videoPage .heading-divider {
        margin:
            8px 0;
    }


    #videoPage .heading-divider::before,
    #videoPage .heading-divider::after {
        width: 30px;
    }


    /* =====================================================
       CARD
    ===================================================== */

    #videoPage .form-card,
    #videoPage .video-card,
    #videoPage .card {
        width: 100%;

        height: auto;

        min-height: 0;

        padding: 12px;

        border-radius: 16px;

        overflow: visible;
    }


    /* =====================================================
       CAMERA
       9 : 16
    ===================================================== */

    #videoPage .camera-section {
        width: 100%;

        height: auto;

        min-height: 0;

        overflow: visible;
    }


    #videoPage .camera-box {
        width: 100%;

        max-width: 100%;

        aspect-ratio: 9 / 16;

        height: auto;

        min-height: 0;

        max-height: none;

        overflow: hidden;

        border-radius: 14px;

        background:
            #060b12;
    }


    #videoPage #videoCamera,
    #videoPage #recordedVideo {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* =====================================================
       PLACEHOLDER
    ===================================================== */

    #videoPage .camera-placeholder {
        padding: 18px;

        background:
            linear-gradient(
                135deg,
                #263a4f,
                #101d2c
            );
    }


    #videoPage .camera-placeholder-icon {
        width: 54px;
        height: 54px;

        margin-bottom: 11px;

        font-size: 23px;
    }


    #videoPage .camera-placeholder h3 {
        font-size: 15px;

        margin-bottom: 4px;
    }


    #videoPage .camera-placeholder p {
        max-width: 240px;

        font-size: 10px;

        line-height: 1.45;
    }


    /* =====================================================
       RECORDING BADGE
    ===================================================== */

    #videoPage .recording-badge {
        top: 9px;
        left: 9px;

        padding:
            5px 8px;

        font-size: 6.5px;
    }


    #videoPage .recording-dot {
        width: 6px;
        height: 6px;

        flex-basis: 6px;
    }


    /* =====================================================
       TIMER
    ===================================================== */

    #videoPage .timer-overlay {
        top: 9px;
        right: 9px;

        padding:
            5px 8px;

        font-size: 9px;
    }


    /* =====================================================
       CAMERA CORNERS
    ===================================================== */

    #videoPage .camera-corner {
        width: 21px;
        height: 21px;
    }


    #videoPage .camera-corner.top-left {
        top: 9px;
        left: 9px;
    }


    #videoPage .camera-corner.top-right {
        top: 9px;
        right: 9px;
    }


    #videoPage .camera-corner.bottom-left {
        bottom: 9px;
        left: 9px;
    }


    #videoPage .camera-corner.bottom-right {
        bottom: 9px;
        right: 9px;
    }


    /* =====================================================
       LABEL
    ===================================================== */

    #videoPage .camera-top-label {
        top: 9px;

        font-size: 5px;
    }


    #videoPage .camera-bottom-label {
        bottom: 9px;

        font-size: 4.5px;
    }


    /* =====================================================
       CAMERA ACTIONS
    ===================================================== */

    #videoPage .camera-actions {
        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 6px;

        margin-top: 8px;

        width: 100%;

        height: auto;

        min-height: 0;

        overflow: visible;
    }


    #videoPage .camera-button {
        width: 100%;

        min-height: 41px;

        padding:
            9px 6px;

        border-radius: 10px;

        font-size: 9px;

        line-height: 1.15;
    }


    /* =====================================================
       FORM
    ===================================================== */

    #videoPage .form-group {
        margin-top: 15px;
    }


    #videoPage .form-label,
    #videoPage label {
        font-size: 10px;

        margin-bottom: 7px;
    }


    #videoPage .form-control {
        min-height: 48px;

        padding:
            11px 12px;

        border-radius: 10px;

        font-size: 16px;
    }


    #videoPage textarea.form-control {
        min-height: 88px;
    }


    /* =====================================================
       PREVIEW
    ===================================================== */

    #videoPage .video-preview {
        width: 100%;

        height: auto;

        min-height: 0;

        margin-top: 10px;

        border-radius: 9px;

        overflow: hidden;

        background:
            #060b12;
    }


    #videoPage .video-preview video {
        display: block;

        width: 100%;

        max-width: 100%;

        height: auto;

        border-radius: 9px;
    }


    /* =====================================================
       SUBMIT
    ===================================================== */

    #videoPage .submit-button {
        min-height: 46px;

        margin-top: 11px;

        padding:
            10px 12px;

        border-radius: 10px;

        font-size: 10px;
    }


    /* =====================================================
       STATUS
    ===================================================== */

    #videoPage .video-submit-status,
    #videoSubmitStatus {
        margin-top: 9px;

        padding:
            10px 11px;

        font-size: 8.5px;

        border-radius: 9px;
    }
}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 380px) {

    #videoPage {
        padding-left: 7px;
        padding-right: 7px;

        padding-bottom: 35px;
    }


    #videoPage .luxury-heading h1,
    #videoPage .page-heading h1 {
        font-size: 24px;
    }


    #videoPage .form-card,
    #videoPage .video-card,
    #videoPage .card {
        padding: 10px;

        border-radius: 14px;
    }


    #videoPage .camera-box {
        width: 100%;

        max-width: 100%;

        aspect-ratio: 9 / 16;

        border-radius: 12px;
    }


    #videoPage .camera-actions {
        gap: 5px;
    }


    #videoPage .camera-button {
        min-height: 40px;

        padding:
            8px 4px;

        font-size: 8.5px;
    }


    #videoPage .recording-badge {
        top: 8px;
        left: 8px;

        padding:
            4px 6px;

        font-size: 6px;
    }


    #videoPage .timer-overlay {
        top: 8px;
        right: 8px;

        padding:
            4px 6px;

        font-size: 8px;
    }


    #videoPage .camera-corner {
        width: 19px;
        height: 19px;
    }


    #videoPage .camera-corner.top-left {
        top: 8px;
        left: 8px;
    }


    #videoPage .camera-corner.top-right {
        top: 8px;
        right: 8px;
    }


    #videoPage .camera-corner.bottom-left {
        bottom: 8px;
        left: 8px;
    }


    #videoPage .camera-corner.bottom-right {
        bottom: 8px;
        right: 8px;
    }


    #videoPage .form-control {
        min-height: 46px;

        padding:
            10px 11px;

        font-size: 16px;
    }


    #videoPage textarea.form-control {
        min-height: 82px;
    }


    #videoPage .submit-button {
        min-height: 44px;

        font-size: 9.5px;
    }
}


/* =========================================================
   FINAL SAFETY
========================================================= */

#videoPage .hidden {
    display: none !important;
}


#videoPage video:empty {
    background: transparent;
}


#videoPage .camera-section:empty,
#videoPage .camera-actions:empty,
#videoPage .video-preview:empty {
    display: none;
}


/* =========================================================
   FINAL DIMENSION
   CAMERA ALWAYS 9 : 16
========================================================= */

#videoPage .camera-box {
    aspect-ratio: 9 / 16 !important;
}


/* =========================================================
   FINAL VIDEO FILL
========================================================= */

#videoPage #videoCamera,
#videoPage #recordedVideo {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
}


/* =========================================================
   PAGE FOLLOWS CONTENT
========================================================= */

#videoPage,
#videoPage .inner-container,
#videoPage .form-card {
    height: auto !important;
}