@import url("https://fonts.googleapis.com/css2?family=poppins:wght@300&display:swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "sans-serif";
}

body {
    position: relative;
    background: #00b3ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100hv;
    margin-top: 15%;
    margin-bottom: 15%;
}

a{
    text-decoration: none;
}

::selection {
    color: #ececec;
    background: #00b3ff;
}

.form {
    position: relative;
    background: #f2f3f7;
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.2);
    padding: 30px 30px;
}

.form h2 {
    font-size: 30px;
    font-weight: 700;
}

.form p {
    font-size: 14px;
    padding-bottom: 8px;
}

.form form {
    margin: 8px 0;
}

.currency {
  background: #f5f5f5;
  padding: 10px 12px;
  font-weight: bold;
  color: #333;
  border-left: 1px solid #ccc;
}

.form form .profile-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;
    height: 75px;
    margin: 18px 30px;
    background: #f2f3f7;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../Images/profil.png");
    border-radius: 50px;
    border: 4px solid #006392;
}

.file-upload {
    position: absolute;
    top: 0;
    right: -15px;
    height: 35px;
    width: 35px;
    display: flex;
    border-radius: 50%;
    border: 2px solid #d2d3d7;
    overflow: hidden;
    background: linear-gradient(to bottom, #006692, #f2f3f7 50%);
    background-size: 100% 200%;
    transition: all 1s;
    font-size: 14px;
    cursor: pointer;
}

form input[type="file"] {
    position: relative;
    height: 40px;
    width: 40px;
    opacity: 0;
    cursor: pointer;
    padding: 20px;
}

form i {
    position: absolute;
    top: 25%;
    left: 100%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #333;
    z-index: 100;
    pointer-events: none;
    cursor: pointer;
}

.file-upload:hover {
    background-position: 0 100%;
}

.file-upload:hover i {
    color: #2938aa;
}

.form form .error-text {
    display: none;
    color: #851923;
    padding: 4px 6px;
    text-align: center;
    border-radius: 4px;
    background: #ffe3e5;
    border: 1px solid #dfa5ab;
    margin-bottom: 20px;
    margin-top: 20px;
}

.form .grid-details {
    display: flex;
    margin-bottom: 20px;
}

.form .grid-details .input:first-child {
    margin-right: 8px;
    width: 100%;
}

.form .grid-details .input:last-child {
    margin-left: 8px;
    width: 100%;
}

.form form .input input {
    height: 40px;
    width: 100%;
    font-size: 14px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    margin-top: 10px;

}

.form form .input select {
    height: 40px;
    width: 100%;
    font-size: 14px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    margin-top: 10px;

}

.form form .input input:focus,
.form form .input input:valid {
    border: 2px solid #00b3ff;
    transition: 0.1s ease;
    outline: none;

}

.form form input.button {
    height: 45px;
    border: none;
    color: #f2f3f7;
    width: 100%;
    background: #006692;
    font-size: 17px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 13px;
    border: 2px solid #2983aa;
    margin-bottom: 20px;
}

.form .link {
text-align: center;
margin: 10px 0;
font-size: 17px;
}

.form .link a {
color: #006692;
transition: 0.5s all;
}

.form .link a:hover {
text-decoration: underline;
}