/*--------------------------------------------------------------
#                         STATUS-STYLES.CSS
#---------------------------------------------------------------
#               Handles the styling for status.html
--------------------------------------------------------------*/

@import url('/src/css/components/base.css');

/*--------------------------------------------------------------
# STATUS PAGE
--------------------------------------------------------------*/
#profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    text-align: center;
}

.time-ago {
    font-size: 1.2rem;
    color: #888;
    display: block;
    margin-top: 15px;
}

#profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* keep it to 50% */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#profile h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #fff;
}

/* STATUS CONTAINER */
#status_container {
    margin: 10px auto 0 auto;
    padding: 20px;
    max-width: 600px;
}

.status {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px; /* was 8px */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Prevent overflow */
    max-width: 100%; /* Ensure the container doesn't exceed the parent width */
}

/* Profile picture styling */
.status .pfp {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* keep it to 50% */
    margin-right: 15px;
    flex-shrink: 0;
}

/* Status image styling */
.status .status-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0; /* was always 0px */
    margin-top: 15px;
    margin-bottom: 10px;
}

.status .status-video {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin-top: 15px;
    margin-bottom: 10px;
    display: block;
    background: #000;
    outline: none;
}

/* Emoji container styling */
.emoji-container {
    margin-bottom: 20px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px; /* was 10px */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-shadow: none;
}

.status .content {
    flex-grow: 1;
    /* Allow the content to take up remaining space */
    max-width: calc(100% - 65px); /* Ensure content stays within the container */
}

.status h3 {
    margin: 0;
    font-size: 18px;
    color: var(--main-color);
}

.status p {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #fff;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.status small {
    font-size: 12px;
    color: #aaa;
}

/* RESPONSIVENESS */
@media (max-width: 1300px) {
    #status_container {
        margin-top: 10px;
        padding: 15px;
        width: 90%;
    }

    /* Status image styling */
    .status .status-image {
        width: 95%;
        height: auto;
        border-radius: 0px; /* was always 0px */
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .status .status-video {
        width: 95%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .status {
        padding: 10px;
    }

    .status h3 {
        font-size: 16px;
    }

    .status p {
        font-size: 14px;
    }

    .status small {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .status img {
        width: 40px;
        height: 40px;
    }

    .status h3 {
        font-size: 16px;
    }

    .status p {
        font-size: 14px;
    }

    .status small {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .status img {
        width: 35px;
        height: 35px;
    }

    .status h3 {
        font-size: 14px;
    }

    .status p {
        font-size: 12px;
    }

    .status small {
        font-size: 9px;
    }
}
