/* Main container — compact to fit desktop viewport */
.echoeback-recorder-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 18px 22px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #ffffff;
    color: #333333;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Progress Stepper */
.echoeback-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.echoeback-stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.echoeback-stepper-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.echoeback-stepper-label {
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.echoeback-stepper-connector {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 10px;
    position: relative;
    top: -16px;
    z-index: 0;
}

.echoeback-stepper-item.active .echoeback-stepper-circle {
    background-color: #4a90e2;
    color: white;
}

.echoeback-stepper-item.active .echoeback-stepper-label {
    color: #4a90e2;
    font-weight: 600;
}

.echoeback-stepper-item.completed .echoeback-stepper-circle {
    background-color: #4caf50;
    color: white;
}

.echoeback-stepper-item.completed .echoeback-stepper-label {
    color: #4caf50;
}

.echoeback-stepper-connector.active {
    background-color: #4a90e2;
}

.echoeback-stepper-connector.completed {
    background-color: #4caf50;
}

/* Step titles */
.echoeback-step-title {
    font-size: 22px;
    margin-bottom: 14px;
    color: #333333;
    font-weight: 500;
    text-align: center;
}

/* Video container — 16:9 matches webcam native aspect ratio */
.echoeback-video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.echoeback-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: cover;
    transform: scaleX(-1);
    /* Mirror effect for selfie view */
}

/* ---- HIDE WordPress Media Player (mejs) controls ---- */
/* These are native video player controls that WordPress injects. */
/* Not needed for live camera preview/recording — only for review playback. */
.echoeback-video-container .mejs-controls,
.echoeback-video-container .mejs-overlay,
.echoeback-video-container .mejs-overlay-button,
.echoeback-video-container .mejs-overlay-loading {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Show mejs controls ONLY during review (when user plays back their recording) */
.echoeback-review-video .mejs-controls {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Add specific class for video preview */
.video-preview {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

/* Video container for review (no mirror) */
.echoeback-review-video video {
    transform: scaleX(1);
    /* No mirror effect for playback */
}

/* Camera error message */
.echoeback-camera-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

.echoeback-camera-error p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    max-width: 80%;
}

.echoeback-camera-error button {
    background: #4a90e2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.echoeback-camera-error button:hover {
    background: #3a80d2;
}

/* Upload error dialog */
#echoeback-upload-error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.echoeback-upload-error-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.echoeback-upload-error-content h3 {
    font-size: 22px;
    color: #333;
    margin: 0 0 15px;
}

.echoeback-upload-error-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.echoeback-upload-error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.echoeback-upload-error-actions button {
    min-width: 100px;
}

/* Timer */
#echoeback-timer {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    display: none;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Countdown */
#echoeback-countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Play button */
#echoeback-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

#echoeback-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}

#echoeback-play-button svg {
    width: 45px;
    height: 45px;
    fill: #fff;
}

/* Hide play button when video is playing */
.video-playing #echoeback-play-button {
    display: none;
}

/* Hide play button during recording and countdown */
.echoeback-video-container.recording #echoeback-play-button,
.echoeback-video-container.countdown-active #echoeback-play-button,
.echoeback-video-container.recording .mejs-overlay-button,
.echoeback-video-container.countdown-active .mejs-overlay-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Settings button */
#echoeback-settings {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 5px;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Stage buttons */
.echoeback-stage-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.echoeback-stage-buttons button {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.echoeback-stage-buttons button:first-child {
    margin-left: 0;
}

.echoeback-stage-buttons button:last-child {
    margin-right: 0;
}

.echoeback-stage-buttons button.active {
    background: #4a90e2;
    color: #fff;
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.echoeback-stage-buttons button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Removed the blue triangle ::after on active buttons — it was messy */

/* Success button animation */
.echoeback-stage-buttons button.echoeback-button-success {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Buttons */
.echoeback-button {
    padding: 12px 24px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.echoeback-button:hover {
    background: #e9e9e9;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.echoeback-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.echoeback-button-primary {
    background: #4a90e2;
    color: #fff;
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.echoeback-button-primary:hover {
    background: #3a80d2;
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
}

.echoeback-button-success {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.2);
}

.echoeback-button-success:hover {
    background: #27ae60;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
}

.echoeback-button-danger {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
}

.echoeback-button-danger:hover {
    background: #c0392b;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.echoeback-button-small {
    padding: 8px 15px;
    font-size: 14px;
}

/* Form elements */
.echoeback-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.echoeback-form-group {
    flex: 1;
    margin-bottom: 20px;
}

.echoeback-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #000 !important;
    /* Force black color for all labels */
}

/* Form inputs */
.echoeback-form-group input[type="text"],
.echoeback-form-group input[type="email"],
.echoeback-form-group input[type="date"],
.echoeback-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #fff;
    color: #000 !important;
    /* Enforce black font */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.echoeback-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s ease;
    color: #000 !important;
    /* Enforce black font */
}

.echoeback-form-group input[type="text"]:focus,
.echoeback-form-group input[type="email"]:focus,
.echoeback-form-group input[type="date"]:focus,
.echoeback-form-group select:focus,
.echoeback-form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.echoeback-form-group input.error,
.echoeback-form-group textarea.error,
.echoeback-form-group select.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.15);
}

.echoeback-form-group .error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}

.echoeback-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

/* Ensure buttons in form actions use the same styling as other buttons */
.echoeback-form-actions .echoeback-button {
    padding: 12px 24px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.echoeback-form-actions .echoeback-button:hover {
    background: #e9e9e9;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.echoeback-form-actions .echoeback-button-primary {
    background: #4a90e2;
    color: #fff;
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.echoeback-form-actions .echoeback-button-primary:hover {
    background: #3a80d2;
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
}

/* Loading indicator */
#echoeback-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.echoeback-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

#echoeback-loading-progress {
    width: 300px;
    max-width: 80%;
    background: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#echoeback-loading-progress-bar {
    height: 10px;
    background: #4a90e2;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 8px;
}

#echoeback-loading-progress-percentage {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#echoeback-loading p {
    margin: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

.echoeback-checkbox-group {
    margin-bottom: 20px;
}

.echoeback-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.echoeback-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    /* Increased gap between checkbox and text */
    margin-top: 3px;
    flex-shrink: 0;
    /* Prevent checkbox from shrinking */
}

.echoeback-checkbox-label span {
    flex: 1;
}

.echoeback-consent-description {
    margin-top: 5px;
    margin-left: 25px;
    font-size: 14px;
    color: #666;
}

.echoeback-terms-link {
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.echoeback-terms-link a {
    color: #4a90e2;
    text-decoration: underline;
}

.echoeback-terms-link a:hover {
    text-decoration: none;
}

/* Make sure checkboxes are visible on mobile */
@media (max-width: 768px) {
    .echoeback-checkbox-label {
        display: flex;
        align-items: flex-start;
    }

    .echoeback-checkbox-label input[type="checkbox"] {
        min-width: 20px;
        min-height: 20px;
        margin-right: 12px;
        flex-shrink: 0;
        -webkit-appearance: none;
        appearance: none;
        border: 2px solid #4a90e2;
        border-radius: 4px;
        background: #fff;
        position: relative;
        cursor: pointer;
    }

    .echoeback-checkbox-label input[type="checkbox"]:checked {
        background: #4a90e2;
        border-color: #4a90e2;
    }

    .echoeback-checkbox-label input[type="checkbox"]:checked::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 14px;
        font-weight: bold;
        line-height: 1;
    }
}

/* Video controls styling */
.echoeback-video-container video::-webkit-media-controls-panel {
    background: rgba(255, 255, 255, 0.2);
}

.echoeback-video-container video::-webkit-media-controls-play-button {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
}

/* ============================================================ */
/* MOBILE RESPONSIVE - 768px (Tablets and smaller)              */
/* ============================================================ */
@media (max-width: 768px) {
    .echoeback-recorder-container {
        max-width: 100%;
        margin: 0;
        padding: 16px;
        border-radius: 0;
        box-shadow: none;
    }

    .echoeback-form-row {
        flex-direction: column;
        gap: 0;
    }

    .echoeback-review-container {
        gap: 15px;
    }

    .echoeback-packages {
        flex-direction: column;
    }

    /* ---- STEPPER: Compact horizontal bar ---- */
    .echoeback-stepper {
        padding: 8px 0;
        margin-bottom: 16px;
        gap: 0;
    }

    .echoeback-stepper-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .echoeback-stepper-label {
        font-size: 11px;
        line-height: 1;
        letter-spacing: 0.3px;
    }

    .echoeback-stepper-connector {
        margin: 0 4px;
        top: -10px;
        height: 2px;
    }

    /* ---- STEP TITLE: Compact ---- */
    .echoeback-step-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
        text-transform: none !important;
    }

    /* ---- CAMERA INFO: Minimal ---- */
    .echoeback-camera-info {
        padding: 10px 12px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        border-radius: 8px !important;
        border-left-width: 3px !important;
    }

    /* ---- VIDEO CONTAINER: Auto-height wraps the actual video ---- */
    /* No fixed aspect-ratio — let WordPress media player set the height */
    /* This eliminates the white gap and centers the play button correctly */
    .echoeback-video-container {
        aspect-ratio: unset !important;
        width: 100% !important;
        max-width: 100%;
        border-radius: 12px !important;
        margin-bottom: 10px !important;
        overflow: hidden !important;
    }

    /* Force WordPress media player to fill container */
    .echoeback-video-container .mejs-container,
    .echoeback-video-container .mejs-mediaelement,
    .echoeback-video-container .mejs-overlay {
        width: 100% !important;
    }

    .echoeback-video-container video {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover;
    }

    /* Play button sized for mobile */
    #echoeback-play-button {
        width: 60px;
        height: 60px;
    }

    #echoeback-play-button svg {
        width: 30px;
        height: 30px;
    }

    /* Timer compact */
    #echoeback-timer {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 14px;
        border-radius: 16px;
    }

    /* Countdown compact */
    #echoeback-countdown {
        width: 70px;
        height: 70px;
        font-size: 34px;
    }

    /* Settings button compact */
    #echoeback-settings {
        top: 10px;
        left: 10px;
        width: 28px;
        height: 28px;
        padding: 4px;
    }

    /* ---- STAGE BUTTONS: 2x2 grid ---- */
    .echoeback-stage-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-bottom: 0 !important;
    }

    .echoeback-stage-buttons button {
        width: 100% !important;
        flex: none !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        min-height: 40px !important;
        border-radius: 8px !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }

    /* ---- BUTTONS: Touch-friendly ---- */
    .echoeback-button {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 10px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }

    .echoeback-form-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
    }

    .echoeback-form-actions .echoeback-button {
        width: 100%;
    }

    /* Form inputs */
    .echoeback-form-group {
        margin-bottom: 14px;
    }

    .echoeback-form-group label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .echoeback-form-group input[type="text"],
    .echoeback-form-group input[type="email"],
    .echoeback-form-group input[type="date"],
    .echoeback-form-group select,
    .echoeback-form-group textarea {
        font-size: 16px;
        padding: 12px;
        border-radius: 10px;
        -webkit-appearance: none;
        appearance: none;
    }

    /* Checkbox groups */
    .echoeback-checkbox-group {
        margin: 14px 0;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
    }

    .echoeback-checkbox-label {
        min-height: 40px;
        padding: 4px 0;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }

    .echoeback-checkbox-label span {
        line-height: 1.4;
        font-size: 14px;
    }

    .echoeback-consent-description {
        font-size: 12px;
        margin-left: 32px;
        line-height: 1.3;
        margin-top: 4px;
    }

    /* Success message */
    .echoeback-success-message {
        padding: 24px 12px;
    }

    .echoeback-success-message h2 {
        font-size: 20px;
    }

    .echoeback-success-message p {
        font-size: 14px;
    }

    /* Review details */
    .echoeback-review-container {
        flex-direction: column;
    }

    .echoeback-review-video,
    .echoeback-review-details {
        width: 100%;
    }

    .echoeback-details-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .detail-label {
        font-size: 12px;
        margin-bottom: 1px;
        color: #888;
    }

    .detail-value {
        font-size: 14px;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
    }

    .detail-value:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Review video on mobile */
    .echoeback-review-video video {
        border-radius: 10px;
    }

    .echoeback-review-details {
        padding: 14px;
        border-radius: 10px;
    }

    .echoeback-review-details h3 {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    #echoeback-review-message {
        max-height: 150px;
        font-size: 14px;
        padding: 12px;
    }

    /* Loading progress */
    #echoeback-loading-progress {
        width: 260px;
        max-width: 85%;
    }

    /* Final review */
    .echoeback-final-review {
        padding: 14px;
        border-radius: 10px;
    }

    .echoeback-final-review p {
        font-size: 14px;
    }

    .echoeback-submit-summary h3 {
        font-size: 16px;
    }

    .echoeback-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .echoeback-summary-item strong {
        min-width: auto;
        font-size: 12px;
        color: #888;
    }

    /* Settings panel */
    #echoeback-settings-panel {
        padding: 15px;
    }

    .echoeback-settings-content {
        padding: 15px;
        border-radius: 12px;
    }

    /* Packages */
    .echoeback-packages {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .echoeback-package {
        padding: 14px;
    }

    .echoeback-promo-code-section {
        padding: 12px;
    }

    /* Upload error */
    .echoeback-upload-error-content {
        padding: 20px;
        max-width: 92%;
    }

    .echoeback-upload-error-content h3 {
        font-size: 18px;
    }

    .echoeback-upload-error-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    /* Steps 4 and 5 min height */
    .echoeback-step-4,
    .echoeback-step-5 {
        min-height: auto;
    }
}

/* ============================================================ */
/* MOBILE RESPONSIVE - 480px (iPhones including iPhone 13)      */
/* ============================================================ */
@media (max-width: 480px) {
    .echoeback-recorder-container {
        padding: 12px;
    }

    .echoeback-step-title {
        font-size: 17px !important;
        margin-bottom: 8px !important;
    }

    .echoeback-stepper-circle {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }

    .echoeback-stepper-label {
        font-size: 10px !important;
    }

    .echoeback-stepper-connector {
        margin: 0 3px !important;
        top: -9px !important;
    }

    .echoeback-stepper {
        padding: 6px 0;
        margin-bottom: 12px;
    }

    .echoeback-camera-info {
        padding: 8px 10px;
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* Video container stays 4:3 but max height capped */
    .echoeback-video-container {
        max-height: 280px !important;
        margin-bottom: 12px !important;
    }

    /* Stage buttons tighter */
    .echoeback-stage-buttons {
        gap: 6px;
    }

    .echoeback-stage-buttons button {
        padding: 9px 6px;
        font-size: 12px;
        min-height: 36px;
        border-radius: 8px;
    }

    .echoeback-form-group {
        margin-bottom: 12px;
    }

    .echoeback-form-group label {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .echoeback-form-group input[type="text"],
    .echoeback-form-group input[type="email"],
    .echoeback-form-group input[type="date"],
    .echoeback-form-group select,
    .echoeback-form-group textarea {
        padding: 10px;
    }

    .echoeback-button {
        font-size: 14px;
        padding: 10px 16px;
        min-height: 42px;
    }

    /* Success */
    .echoeback-success-message {
        padding: 20px 10px;
    }

    .echoeback-success-message h2 {
        font-size: 18px;
    }

    .echoeback-final-review {
        padding: 12px;
    }
}

/* ============================================================ */
/* MOBILE RESPONSIVE - 320px (Smallest screens)                 */
/* ============================================================ */
@media (max-width: 320px) {
    .echoeback-recorder-container {
        padding: 8px;
    }

    .echoeback-step-title {
        font-size: 15px;
    }

    .echoeback-stepper-circle {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .echoeback-stepper-label {
        font-size: 9px;
    }

    .echoeback-video-container {
        max-height: 220px;
    }

    .echoeback-camera-info {
        padding: 8px;
        font-size: 11px;
    }

    .echoeback-stage-buttons button {
        font-size: 11px;
        padding: 8px 4px;
    }
}

/* ============================================================ */
/* iOS-SPECIFIC FIXES                                           */
/* ============================================================ */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {

        /* Prevent iOS zoom on input focus */
        .echoeback-form-group input,
        .echoeback-form-group select,
        .echoeback-form-group textarea {
            font-size: 16px !important;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        .echoeback-form-group input:focus,
        .echoeback-form-group select:focus,
        .echoeback-form-group textarea:focus {
            -webkit-transform: scale(1) !important;
            transform: scale(1) !important;
            zoom: 1 !important;
        }

        /* Fix iOS button rendering */
        .echoeback-button,
        .echoeback-stage-buttons button {
            -webkit-appearance: none;
            appearance: none;
            -webkit-border-radius: 10px;
            border-radius: 10px;
        }

        /* Fix iOS scroll */
        .echoeback-recorder-container {
            -webkit-overflow-scrolling: touch;
        }

        /* iOS checkbox */
        .echoeback-checkbox-label input[type="checkbox"] {
            -webkit-appearance: none;
            appearance: none;
            -webkit-transform: scale(1);
            transform: scale(1);
        }
    }
}

/* Thank You Page Styles */
.echoeback-thankyou-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.echoeback-thankyou-message {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.echoeback-thankyou-message svg {
    width: 64px;
    height: 64px;
    margin-bottom: 25px;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.1));
}

.echoeback-thankyou-message h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.echoeback-feedback-form {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.echoeback-feedback-form h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
}

#echoeback-feedback-success {
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

/* New Numerical Rating Component */
.echoeback-rating-row {
    margin: 10px 0 20px;
}

.echoeback-rating-scale {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.echoeback-rating-scale span {
    font-weight: 500;
    font-size: 15px;
    color: #555;
}

.echoeback-rating-scale input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 30px;
    height: 30px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin: 0;
    cursor: pointer;
    background-color: #f9f9f9;
}

.echoeback-rating-scale input[type="radio"]:checked {
    border-color: #4a90e2;
    background-color: #4a90e2;
}

.echoeback-rating-scale input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
}

.echoeback-rating-scale input[type="radio"]:hover {
    border-color: #4a90e2;
    background-color: #f0f7ff;
}

.echoeback-rating-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

/* Responsive adjustments for rating scale */
@media (max-width: 600px) {
    .echoeback-rating-scale {
        gap: 8px;
    }

    .echoeback-rating-scale input[type="radio"] {
        width: 25px;
        height: 25px;
    }
}

/* Star Rating Component (keeping for backward compatibility) */
.echoeback-star-rating {
    display: inline-block;
    direction: rtl;
    /* Right to left for easier hover effect */
    unicode-bidi: bidi-override;
}

.echoeback-star-rating input {
    display: none;
}

.echoeback-star-rating label {
    color: #ddd;
    font-size: 30px;
    padding: 0 2px;
    cursor: pointer;
    display: inline-block;
}

.echoeback-star-rating label:before {
    content: "★";
}

.echoeback-star-rating input:checked~label,
.echoeback-star-rating:not(:checked) label:hover,
.echoeback-star-rating:not(:checked) label:hover~label {
    color: #FFD700;
}

/* Redirect Section */
.echoeback-redirect-section {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.echoeback-redirect-section p {
    margin-bottom: 15px;
}

#echoeback-countdown-timer {
    font-weight: bold;
    font-size: 18px;
}

/* Camera info text */
.echoeback-camera-info {
    margin-bottom: 15px;
    text-align: center;
    background: #f5f7fa;
    border-radius: 10px;
    padding: 15px;
    color: #555;
    font-size: 16px;
    border-left: 4px solid #4a90e2;
}

/* Date upgrade notice */
.echoeback-upgrade-notice {
    margin-top: 10px;
    padding: 12px 15px;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    font-size: 14px;
}

.echoeback-upgrade-notice p {
    margin: 0;
    color: #795548;
}

.echoeback-upgrade-notice a {
    color: #e65100;
    font-weight: 500;
    text-decoration: underline;
}

/* Review & Submit page styling */
.echoeback-review-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.echoeback-review-video {
    width: 100%;
    margin-bottom: 25px;
}

.echoeback-review-video video {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.echoeback-review-details {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.echoeback-review-details h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Grid layout for delivery details */
.echoeback-details-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 12px 20px;
    align-items: baseline;
    margin-bottom: 25px;
}

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #333;
}

/* Message alignment */
#echoeback-review-message {
    text-align: left;
    white-space: pre-wrap;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    max-height: 200px;
    overflow-y: auto;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .echoeback-review-container {
        flex-direction: column;
    }

    .echoeback-review-video,
    .echoeback-review-details {
        width: 100%;
    }

    .echoeback-details-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detail-label {
        font-size: 14px;
        margin-bottom: 0;
    }

    .detail-value {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #eee;
    }

    .detail-value:last-child {
        border-bottom: none;
    }
}

/* Fix for feedback form visibility */
.echoeback-thankyou-container .echoeback-feedback-form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
    margin: 40px auto;
    border: 1px solid #eee;
}

#echoeback-feedback-form {
    display: block !important;
}

/* Settings Panel Styling */
#echoeback-settings-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Promo Code Section */
.echoeback-promo-code-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.echoeback-promo-code-section .echoeback-form-group {
    margin-bottom: 0;
}

.echoeback-promo-code-section input[type="text"] {
    flex: 1;
    margin-right: 10px;
}

.echoeback-promo-code-section button {
    white-space: nowrap;
    padding: 12px 20px;
}

/* Package Selection Enhancements */
.echoeback-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Surcharge Notice */
.echoeback-surcharge-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #fdcb6e;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.echoeback-surcharge-notice h4 {
    margin: 0 0 15px;
    color: #856404;
    font-size: 18px;
    font-weight: 600;
}

.echoeback-surcharge-notice p {
    margin: 8px 0;
    color: #856404;
    font-size: 14px;
}

.echoeback-surcharge-notice p:last-child {
    margin-bottom: 0;
}

.echoeback-surcharge-notice strong {
    color: #533f03;
    font-weight: 700;
}

.echoeback-package {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.echoeback-package:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
}

.echoeback-package.selected {
    border-color: #4a90e2;
    background: rgba(74, 144, 226, 0.05);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.echoeback-package h4 {
    margin: 0 0 10px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.echoeback-package-price {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #4a90e2;
    margin: 10px 0;
}

.echoeback-package p {
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.echoeback-package-select {
    margin-top: 15px;
    width: 100%;
}


/* Final Summary Styling */
.echoeback-final-review {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.echoeback-submit-summary h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.echoeback-summary-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.echoeback-summary-item strong {
    color: #333;
    font-weight: 600;
    min-width: 120px;
}

.echoeback-summary-item:last-child {
    margin-bottom: 0;
}

/* Step 4 and 5 specific styling */
.echoeback-step-4,
.echoeback-step-5 {
    min-height: 400px;
}

/* Success Message Enhancements */
.echoeback-success-message {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.echoeback-success-message svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.echoeback-success-message h2 {
    color: #2ecc71;
    margin: 0 0 15px;
    font-size: 28px;
    font-weight: 600;
}

.echoeback-success-message p {
    color: #666;
    margin: 10px 0;
    font-size: 16px;
}

/* Responsive adjustments for new components */
@media (max-width: 768px) {
    .echoeback-packages {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .echoeback-package {
        padding: 15px;
    }

    .echoeback-promo-code-section {
        padding: 15px;
    }

    .echoeback-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .echoeback-summary-item strong {
        min-width: auto;
    }

    .echoeback-final-review {
        padding: 20px;
    }
}

/* ============================================================ */
/* AUTOFILL STYLING - Make autofilled text more visible */
/* ============================================================ */
.echoeback-recorder-container input:-webkit-autofill,
.echoeback-recorder-container input:-webkit-autofill:hover,
.echoeback-recorder-container input:-webkit-autofill:focus,
.echoeback-recorder-container input:-webkit-autofill:active,
.echoeback-recorder-container textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000000 !important;
    font-weight: 500;
}

.echoeback-recorder-container input:-moz-autofill,
.echoeback-recorder-container textarea:-moz-autofill {
    background-color: white !important;
    color: #000000 !important;
}

/* ============================================================ */
/* MOBILE FULLSCREEN CAMERA - Snapchat-style                    */
/* Camera fills screen, single record button at bottom center   */
/* ============================================================ */
@media (max-width: 768px) {

    /* ---- FULLSCREEN CONTAINER ---- */
    .echoeback-recorder-container.mobile-fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 99999 !important;
        background: #000 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        max-width: none !important;
        overflow: hidden !important;
    }

    /* ---- HIDE EVERYTHING ---- */
    .echoeback-recorder-container.mobile-fullscreen .echoeback-progress-bar,
    .echoeback-recorder-container.mobile-fullscreen .echoeback-step-title,
    .echoeback-recorder-container.mobile-fullscreen .echoeback-video-description,
    .echoeback-recorder-container.mobile-fullscreen #echoeback-settings,
    .echoeback-recorder-container.mobile-fullscreen #echoeback-settings-panel,
    .echoeback-recorder-container.mobile-fullscreen #echoeback-play-button,
    .echoeback-recorder-container.mobile-fullscreen .mejs-controls,
    .echoeback-recorder-container.mobile-fullscreen .mejs-overlay,
    .echoeback-recorder-container.mobile-fullscreen .mejs-overlay-button,
    .echoeback-recorder-container.mobile-fullscreen .echoeback-stage-buttons,
    .echoeback-recorder-container.mobile-fullscreen .echoeback-recording-indicator {
        display: none !important;
    }

    /* ---- HIDE WordPress video container in fullscreen ---- */
    .echoeback-recorder-container.mobile-fullscreen .echoeback-video-container {
        display: none !important;
    }

    /* ---- RAW FULLSCREEN VIDEO (bypasses WordPress mejs) ---- */
    #echoeback-fs-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: scaleX(-1) !important;
        z-index: 1 !important;
        background: #000 !important;
    }

    /* ---- LOADING SPINNER (shows during camera init) ---- */
    #echoeback-fs-loading {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
        background: #000 !important;
    }

    #echoeback-fs-loading p {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 16px !important;
        margin-top: 20px !important;
        font-weight: 400 !important;
        letter-spacing: 0.5px !important;
    }

    .echoeback-fs-spinner {
        width: 48px !important;
        height: 48px !important;
        border: 3px solid rgba(255, 255, 255, 0.2) !important;
        border-top-color: #fff !important;
        border-radius: 50% !important;
        animation: echoeback-spin 0.8s linear infinite !important;
    }

    @keyframes echoeback-spin {
        to {
            transform: rotate(360deg);
        }
    }

    /* ---- TIMER (top center, only visible during recording) ---- */
    .echoeback-recorder-container.mobile-fullscreen #echoeback-timer {
        position: fixed !important;
        top: 16px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        padding: 6px 18px !important;
        font-size: 15px !important;
        border-radius: 20px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        color: #fff !important;
        font-weight: 600 !important;
        z-index: 100002 !important;
        letter-spacing: 1px !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    /* ---- SINGLE RECORD BUTTON (bottom center) ---- */
    .echoeback-fs-record-btn {
        display: none;
    }

    .echoeback-recorder-container.mobile-fullscreen .echoeback-fs-record-btn {
        display: flex !important;
        position: fixed !important;
        bottom: 40px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 76px !important;
        height: 76px !important;
        border-radius: 50% !important;
        background: transparent !important;
        border: 4px solid #fff !important;
        z-index: 100001 !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        padding: 0 !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
    }

    /* Inner circle (white fill — tap to record) */
    .echoeback-recorder-container.mobile-fullscreen .echoeback-fs-record-btn::after {
        content: '' !important;
        display: block !important;
        width: 62px !important;
        height: 62px !important;
        background: #fff !important;
        border-radius: 50% !important;
        transition: all 0.2s ease !important;
    }

    /* Active tap feedback */
    .echoeback-recorder-container.mobile-fullscreen .echoeback-fs-record-btn:active::after {
        transform: scale(0.85) !important;
    }

    /* ---- RECORDING STATE: button becomes red stop ---- */
    .echoeback-recorder-container.mobile-fullscreen .echoeback-fs-record-btn.is-recording {
        border-color: rgba(255, 255, 255, 0.6) !important;
    }

    .echoeback-recorder-container.mobile-fullscreen .echoeback-fs-record-btn.is-recording::after {
        width: 28px !important;
        height: 28px !important;
        background: #ff3b30 !important;
        border-radius: 6px !important;
    }

    /* ---- NEXT BUTTON (appears after recording stops) ---- */
    .echoeback-fs-next-btn {
        display: none;
    }

    .echoeback-recorder-container.mobile-fullscreen .echoeback-fs-next-btn.visible {
        display: flex !important;
        position: fixed !important;
        bottom: 52px !important;
        right: 24px !important;
        width: auto !important;
        height: 44px !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #000 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border: none !important;
        z-index: 100001 !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 20px !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
    }

    .echoeback-recorder-container.mobile-fullscreen .echoeback-fs-next-btn.visible:active {
        transform: scale(0.95) !important;
    }

    /* ---- FULLSCREEN API support ---- */
    .echoeback-recorder-container:fullscreen,
    .echoeback-recorder-container:-webkit-full-screen {
        background: #000 !important;
    }

    /* Hide old mobile stop button */
    .echoeback-mobile-stop-btn {
        display: none !important;
    }
}