@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body {
    margin: 0 10px;
    font-family: 'Poppins', sans-serif;
    background-color: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.container {
    width: 90%;
    max-width: 380px;
    background: white;
    padding: 24px 24px 0px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
    margin: 20px;
}

.container h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.container p {
    font-size: 14px;
    color: #777;
    margin: 12px 0 24px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.social-buttons button {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 8px;
    color: black;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-buttons button img {
    margin-right: 8px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #DDD;
}

.divider span {
    padding: 0 10px;
    font-size: 12px;
    color: #777;
}

.form-group {
    text-align: left;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #DDD;
    border-radius: 8px;
    font-size: 14px;
}

.form-group input,
.submit-button {
    width: calc(100% - 22px);
    /* Adjust width to match padding and border */
}

.submit-button {
    box-sizing: border-box;
    /* Ensure padding and border are included in the width */
}

.submit-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: black;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-button:hover {
    background: #333;
}
.back-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: black;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;margin-top: 16px
}

.back-button:hover {
    background: #333;
}
.signup {
    font-size: 12px;
    color: #777;
    margin-top: 16px;
}

.signup a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.2s;
}

.signup a:hover {
    color: #0056b3;
}

.powered-by {
    font-size: 12px;
    color: #777;
    text-align: center;
    width: 100%;
}

@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 16px;
    }

    .container h1 {
        font-size: 18px;
    }

    .container p {
        font-size: 12px;
    }

    .social-buttons button {
        font-size: 12px;
    }

    .form-group label {
        font-size: 10px;
    }

    .form-group input {
        font-size: 12px;
    }

    .submit-button {
        font-size: 12px;
    }

    .signup {
        font-size: 10px;
    }

    .divider span {
        font-size: 10px;
    }
}