@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*
{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

:root
{
    --cream: #edebdf;
    --light-brown: #a4978e;
    --dark-brown: #766e6b;
    --light-pink: #e0bfac;
    --pink: #E8B4B8;        
    --dark-pink: #df6f79;   
    --pink-hover: #c09598;        
    --dark-pink-hover: #cb616a;   

    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;
}

.form{
    color: var(--dark-brown);
    border: #edebdf solid;
    background-color: #edebdf;
    border-radius: 0px 100px 100px 0px;
    padding: 50px 50px 50px 50px;
    width: 55%;
    float: left;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.custForm{
    height: 120vh;;
    padding-bottom: 56px;
}

.back {
    width: fit-content;
    
    color:white;
    text-decoration: none;
    background-color: var(--dark-pink);
    padding: 3px 5px 0px 5px;
    margin: 20px 0px 30px 0px;
    font-size: 25px;
    font-weight: 900;
    height: fit-content;
    border-radius: 10px;
}

.back:hover{
    background-color: var(--dark-pink-hover);
}

.logo {
    position: fixed;
    right: 0;
    width: 45%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.logo img{
    width: 85%;
}

.logo h2 {
    font-size: 3rem;
    color: #766e6b;
    line-height: 45px;
}

.logo h3{
    line-height: 10px;
    color: var(--light-brown);
    margin-left: 10%;
}

.data{
    margin: 10px 30px 0px 0px;
    width: 280px;
    padding: 7px;
    border-radius: 10px;
    border-style: none;
}

.input-image{
    margin-top: 10px;
    border: solid black; 
    width: 270px; 
    height: 150px;
    border: 6px solid #edebdf;
    box-shadow: 0px 0px 5px 2px #d7b4b0;
    background-color: white;
}

.submit {
    background: var(--pink);
    border: none;
    padding: 10px;
    width: 270px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    margin-top: 40px;
    text-align: center;
    text-decoration: none;
    transition: var(--tran-02);
}

.submit:hover{
    background-color: var(--dark-pink);
}
.error {
    color: red;
    font-size: 12px;
    margin-top: 2px;
}

/*sweet alert custom*/
.swal-btn {
  min-width: 100px; /* or any fixed width */
  flex: 1;           /* make both buttons grow equally */
  margin: 10px 8px 10px 8px;     /* optional spacing */
}

/* Success icon color */
.swal2-icon.swal2-success {
  border-color: var(--pink) !important;
  color: var(--pink) !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line],
.swal2-icon.swal2-success [class^=swal2-success-ring] {
  color: var(--pink) !important;
}

/* Info icon color */
.swal2-icon.swal2-warning {
  border-color: var(--dark-pink) !important;
  color: var(--dark-pink) !important;
}

/* Info icon color */
.swal2-icon.swal2-info {
  border-color: var(--medyo-dark) !important;
  color: var(--medyo-dark) !important;
}

/* Error icon color */
.swal2-icon.swal2-error {
  border-color: #c0392b !important;
  color: #c0392b !important;
}

/* ok button */
.swal-ok-btn {
  background-color: var(--dark-pink) !important;
  color: white !important;
  padding: 8px 20px;
  font-weight: bold;
  border-radius: 5px;
  min-width: 100px;
}