* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #2f2f2f;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: auto;
}

.container-1 {
    width: 380px;
    height: 460px;
    background-color: #fdec51;
    padding-top: 25px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container-1 header {
    text-align: center;
    margin-bottom: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.container-1 header span {
    font-size: 16px;
    color: #3a2e0b;
}

.close-icon {
    width: 20px;
    height: 20px;
    color: #7e762a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.close-icon:hover {
    color: rgb(41, 39, 39);
}

.container-1 footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
}

.Save-button {
    background-color: transparent;
    color: #7e762a;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.Save-button:hover {
    color: rgb(41, 39, 39);
}

.Cancel-button {
    background-color: transparent;
    color: #7e762a;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.Cancel-button:hover {
    color: rgb(41, 39, 39);
}

.container-2 {
    width: 400px;
    height: 310px;
    background-color: #ffffff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 490px;
    top: 140px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: auto;
    object-fit: cover;
    position: relative;
    top: -40px;
}

.container-2 form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: auto;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -45px;
}

label {
    font-size: 9px;
    color: #aaafb4;
    font-weight: bold;
    padding: 1px;
}

fieldset {
    display: flex;
    gap: -18px; 
    border: none;
    padding: 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    line-height: 1.4;
}

.input-group input {
    border: none;
    font-size: 12px;
    font-weight: 400;
    padding-bottom: 8px;
    border-bottom: #d6cfcf 1px solid;
    line-height: 1.4;
    margin-right: 5px; 
}

.input-group:last-child input {
    margin-right: 0;
}

.input-group input:focus {
    outline: none;
    border-bottom: #d6cfcf 1px solid;
}

input {
    border: none;
    font-size: 12px;
    font-weight: 400;
    padding-bottom: 8px;
    border-bottom: #d6cfcf 1px solid;
    line-height: 1.4;
}

input:focus {
    outline: none;
    border-bottom: #d6cfcf 1px solid;
}

textarea {
    border: none;
    font-size: 12px;
    font-weight: 500;
    padding-bottom: 18px;
    border-bottom: #d6cfcf 1px solid;
    line-height: 1.0;
}

textarea:focus {
    outline: none;
    border-bottom: #d6cfcf 1px solid;
}