body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.banner {
    position: relative;
    width: 100%;
    height: 200px;
    overflow-x: scroll;
    white-space: nowrap;
}

.banner-images img {
    width: 100%;
    max-height: 200px;
    display: inline-block;
    border-radius: 8px 8px 0 0;
}

.profile-picture {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    overflow: hidden;
    background-color: #fff;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    margin-top: 100px;
    padding: 20px;
}

.profile-info h1 {
    font-size: 24px;
    color: #333;
}

.profile-info p {
    font-size: 16px;
    color: #888;
}

.profile-actions {
    display: flex; /* Aligns buttons horizontally */
    justify-content: center; /* Centers buttons */
    gap: 8px; /* Reduced gap between buttons */
    margin-top: 20px;
}

.profile-actions button {
    background-color: #ffccd5;
    color: #fff;
    border: none;
    padding: 8px 12px; /* Smaller padding for more compact buttons */
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px; /* Slightly smaller font size */
    display: flex;
    align-items: center;
    gap: 4px; /* Reduced gap between icon and text */
}

.profile-actions button .icon {
    font-size: 16px; /* Smaller icon size */
}

.profile-dashboard {
    margin: 20px 0;
    padding: 20px;
    background-color: #ffccd5;
    color: #fff;
}

.stats {
    display: flex;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat h2 {
    font-size: 18px;
    margin: 0;
}

.stat p {
    font-size: 24px;
    margin: 5px 0 0;
}

.product-list-button {
    margin: 20px;
}

.product-list-button button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: #ffccd5;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.user-products {
    padding: 20px;
}

.user-products .product {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

