@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #053EEF;
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

button,
input {
    border: none;
    outline: none;
}

/****************
  FORM
*****************/
.del-user-data {
    background-color: white;
    width: 100%;
    max-width: 500px;
    padding: 50px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

h1 {
    text-align: center;
    color: #053EEF;
}

h2 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: lighter;

    margin-bottom: 40px;
}

h2 span {
    text-decoration: underline;
    cursor: pointer;
    color: #053EEF;
}

/*  Field */
.userDel__field {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    margin-bottom: 50px;
}

.userDel__field:before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 0px;
    height: 2px;
    background: #053EEF;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s ease;
}

.userDel__field:hover:before {
    width: 100%;
}

/*  Input */
.userDel__input {
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    padding: 10px 2px 0;
    border-bottom: 2px solid #e0e0e0;
}

/*  Label */
.userDel__label {
    color: #bdbdbd;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 2px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.userDel__input:focus+.userDel__label,
.userDel__input:valid+.userDel__label {
    top: 0;
    font-size: 1rem;
    background-color: white;
}

/*  Button */
button {
    background: #053EEF;
    color: white;
    padding: 12px 0;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
}

button:hover {
    background: #fff;
    box-shadow: 0 9px 20px 0 var(--shadowcolor);
    color: #000;
    border: #053EEF 3px solid;
}
.note{
    color: red;
    font-size: 12px;
    text-align: center;
    padding: 5px 0px 0px 0px;
}

/* popup */

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    display: grid;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    width: 100%;
  }
  
  .popup h2 {
    margin-top: 0;
  }
  
  .popup input[type="text"],
  .popup button {
    display: block;
    margin-bottom: 10px;
  }
  
  .popup button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 9px;
    border-radius: 5px;
    justify-content: center;
    max-width: 200px;
    margin: 0 auto;
    width: 100%;
}
  
  .popup button:hover {
    background-color: #45a049;
  }
  .error-container{
    color : red;
    padding: 10px;
  }

  .error-container-popup {
    margin-bottom: 11px;
    color : red;
}
.success-pop{
    color:green;
    margin-bottom: 11px;
}