#ProfileBox {
    display: flex;
    justify-content: space-between; /* Aligns the content to the left and right */
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin: 20px;
    background-color: whitesmoke;
    color: black;
}

#ProfileBox .UserInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    margin: 20px;
    width: 45%; /* Set width to 45% to allow space for support section */
}

#ProfileBox .ImageContainer {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 20px;
    transform: scale(2);
}

#ProfileBox .skinImg, #ProfileBox .faceImg, #ProfileBox .hairImg {
    position: absolute;
    width: 64px;
    height: 64px;
    user-drag: none;
    -webkit-user-drag: none;
}

#ProfileBox .faceImg {
    top: 0;
    left: 0;
}

#ProfileBox .hairImg {
    top: -10px; /* Adjust this value to move the hair higher */
    left: 0;
}

#ProfileBox .skinImg {
    top: 0;
    left: 0;
}

#ProfileBox p.ProfileP {
    font-size: 20px;
    font-weight: bold;
}

#ProfileBox .InfoContainer {
    margin: 64px;
}

/* --------- Support Tickets Section --------- */
.SupportTickets {
    width: 45%;
}

.SupportTickets .ticket-list li {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: white;
    transition: background-color 0.3s;
}

.SupportTickets .ticket-list li:hover {
    background-color: #f9f9f9;
}

.SupportTickets .ticket-list li strong {
    font-size: 18px;
    color: #444;
}

.SupportTickets .ticket-list li small {
    font-size: 12px;
    color: #bbb;
}

#createTicketBtn {
    padding: 10px 20px;
    background-color: rgb(27, 136, 0);
    font-size: 16px;
    border: none;
    border-radius: 5px;
    font-family: 'press_start_2pregular';
    color: whitesmoke;
    font-weight: 300;
    box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.2);
    transition: 0.1s;
    text-shadow: 0px 2px rgba(0, 0, 0, 0.2);
    appearance: none;
    outline: none;
    margin: 0;
    cursor: pointer;
}

/* Modal */
.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    max-width: 500px;
    position: relative;
    box-sizing: border-box;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal form input,
.modal form textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.modal form button {
    padding: 10px 20px;
    background-color: navy;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    font-family: 'press_start_2pregular';
    color: whitesmoke;
    font-weight: 300;
    box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.2);
    transition: 0.1s;
    text-shadow: 0px 2px rgba(0, 0, 0, 0.2);
    appearance: none;
    outline: none;
    margin: 0;
    cursor: pointer;
}

.modal form button:hover {
    background-color: #0056b3;
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    #ProfileBox {
        flex-direction: column;
    }

    section {
        width: 100%;
    }

    .modal-content {
        width: 90%;
    }
}