.outer-user-profile {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110vh;
    padding: 0px 60px;
}

.profile-settings {
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.profile-header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.edit-icon {
    position: absolute;
    top: 70px;
    left: 70px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.profile-info {
    flex-grow: 1;
}

.profile-info h2 {
    margin: 0;
    font-size: 1.8em;
    color: #333;
}

.profile-info p {
    margin: 5px 0;
    font-size: 1em;
    color: #777;
}
.save-edit{
    align-self: flex-end;
    display: flex;
    width: fit-content;
    padding: 10px 25px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    border: 1px solid var(--primary-deep-blue-color, #001E74);
}

.save-edit:hover{
    background-color: #001E74;
    color: white;
    cursor: pointer;
}
.edit-profile-btn {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    border: 1px solid var(--primary-deep-blue-color, #001E74);
}

.edit-profile-btn:hover {
   cursor: pointer;
}

form {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1px;
    flex-wrap: wrap;
}

.form-group {
    width: 49%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1em;
    color: #555;
}

.form-group input {
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    background-color: #fff;
}

@media (min-width:951px) {
    .profile-settings {
        height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-info h2 {
        font-size: 1.5em;
    }

    .profile-info p {
        font-size: 0.9em;
    }

    .edit-profile-btn {
        margin-top: 10px;
    }

    .edit-icon {
        top: 85px;
        left: 85px;
    }
}

@media (max-width: 480px) {
    .profile-settings {
        padding: 15px;
    }

    .profile-header img {
        width: 80px;
        height: 80px;
    }

    .edit-profile-btn {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    .edit-icon {
        top: 65px;
        left: auto;
        width: 25px;
        height: 25px;
        font-size: 0.8em;
    }
}