* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.page-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
    position: relative;
    z-index: 1; /* Ensure content is above the video */
}

/* Fix background video for all screen sizes */
.background-video,
.fallback-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Ensures video/image covers the viewport */
    z-index: -1; /* Behind the content */
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.header-logo {
    display: flex;
    position: absolute;
    top: 40px;
    right: 40px;
}

.user-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-name {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 700;
}

.user-account-name {
    margin-top: 2px;
    font-size: 20px;
    font-weight: 400;
}

.location-info {
    margin-top: 40px;
}

#time-in-current-location {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.5;
}

.current-location {
    display: flex;
    margin-top: 8px;
    align-items: center;
    justify-content: center;
}

#location-name {
    font-weight: 700;
    margin-left: 4px;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.user-status::before {
    display: none;
    content: '';
    position: absolute;
    background-image: url("../images/status.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 10px;
    height: 10px;
    left: -15px;
}

.user-status.available::before {
    display: block;
}

.separator {
    background-image: url("../images/separator.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 2px;
    height: 19px;
}

.respond-time {
    font-size: 16px;
    line-height: 1.5;
}

.clock {
    content: '';
    background-image: url("../images/clock.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 22px;
    height: 22px;
}

/* Fix button width and margins */
.send-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 390px; /* Limits button width */
    height: 56px;
    border: none;
    border-radius: 15px;
    padding: 16px 32px;
    cursor: pointer;
    color: #fff;
    background-color: #ff69b4;
    animation: glow 2s ease-in-out infinite;
    margin: 25px auto 0; /* Centers button with top margin */
}

.btn-text {
    font-weight: 700;
    font-size: 16px;
}

.of-icon {
    margin-right: 10px;
}

.countdown-block {
    margin-top: 16px;
}

.discount {
    color: #ff0000;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px #ff69b4; }
    50% { box-shadow: 0 0 20px #ff69b4; }
    100% { box-shadow: 0 0 5px #ff69b4; }
}

/* Adjustments for smaller screens */
@media screen and (max-width: 400px) {
    #time-in-current-location {
        width: 100%;
        max-width: 330px;
        font-size: 14px;
    }

    .send-button {
        max-width: 343px; /* Slightly smaller to ensure margins */
    }

    .header-logo {
        top: 16px;
        right: 16px;
    }

    .user-info {
        margin-top: 16px;
    }
}