@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    
    background: linear-gradient(135deg, white 0%, #fff8e1 50%, #FFE980 100%);
    font-family: "Poppins", sans-serif;
}

.poppins{
    font-family: "Poppins", sans-serif;
}

.middle{
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: white;
    padding: 5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.register-container{
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    font-family: "Poppins", sans-serif;
}

.logo {
    display: block;
    width: 180px;
    margin-bottom: 1rem;
    padding: 2rem 0 0 2rem;
}

h1 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    font-weight: 500;
    margin-top: 0;
}

.py-2{
    padding-block: 2rem;
}
.py-3{
    padding-block: 3rem;
}
.py-4{
    padding-block: 4rem;
}
.py-5{
    padding-block: 5rem;
}
.py-6{
    padding-block: 6rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-check{
    display: flex;
    gap: 5px;
    padding-block: 1rem 2rem;
}

.form-check input[type='checkbox']{
    align-self: self-start;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

input:not([type="checkbox"]):not([type="radio"]),textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #F2F2F2;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #ffa000;
    background: white;
}

.login-button {
    width: 100%;
    padding: 0.4rem ;
    background: #FFB300;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background: #ff8f00;
}

.relative{
    position: relative;
}

.absolute{
    position: absolute;
    top: 10px;
    right: 5px;
}

.custom-message {
    animation: fadeSlide 0.3s ease-in-out;
    border-color: #FFB300 !important;
    background-color:#FFB300 !important;
    color: white !important;
    padding: 10px 40px !important;
  }


@media(max-width:550px){
    body{
        padding-inline: 1rem;
    }
    
    .logo{
        padding-inline: 0;
        width: 150px;
    }
    .login-container{
        padding-inline: 1rem;
    }
    .middle{
        padding-top: 3rem;
      }
}


