* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.profile-container {
    max-width: 1280px;
    display: flex;
    gap: 20px;
}

.profile-section {
    width: 30%; /* Kept the profile smaller */
    display: flex;
    justify-content: flex-start; /* Ensures the profile card starts on the left */
}

.account-section {
    width: 70%;
}

.profile-card {
    background-color: #fff;
    border-radius: 15px;
    text-align: left;
    position: relative;
    padding-bottom: 20px;
    overflow: hidden;
    width: 100%; /* Ensure it scales properly within the section */
}

.header-bg {
    background-image: url('Assets/products/shoe1-1.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    height: 120px;
    position: relative;
}

.avatar-container {
    position: absolute;
    top: 70px;
    left: 19%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    z-index: 2;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    margin-top: 32px;
    padding: 20px;
}

.profile-info h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 5px;
}

.profile-info .email {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.profile-info a {
    display: block;
    font-size: 18px;
    color: #020e1b;
    padding:10px 0 10px 0 ;
    text-decoration: none;
    border-bottom: 1px solid #e9e9e9;;
}

.profile-info a:hover {
    text-decoration: underline;
}

.account-form {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
}

.account-form h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.account-form label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.account-form input[type="text"], input[type="email"], input[type="file"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.account-form button.save-btn {
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.account-form button.save-btn:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        gap: 10px;
    }

    .profile-section,
    .account-section {
        width: 100%;
    }
}
