* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: green;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    width: 950px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

.left {
    width: 45%;
    padding: 20px;
    text-align: center;
}

.left h2 {
    margin-bottom: 15px;
    font-weight: 600;
}

.logo {
    width: 70px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s;
}

.input-group label {
    position: absolute;
    left: 12px;
    top: 14px;
    font-size: 16px;
    color: gray;
    transition: all 0.3s;
    pointer-events: none;
}

.input-group input:focus,
.input-group input:valid {
    border-color: #046a38;
    box-shadow: 0 0 5px #046a38;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -18px;
    left: 1px;
    font-size: 14px;
    color: #046a38;
    background: white;
    padding: 0 5px;
}

.signup-text {
    margin-top: 15px;
    font-size: 14px;
    color: gray;
}

.signup-text a {
    color: #046a38;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.signup-text a:hover {
    color: #034f28;
}

.btn {
    background-color: #046a38;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn:hover {
    background-color: #034f28;
}

.login-text {
    margin-top: 15px;
    font-size: 14px;
    color: gray;
}

.social-login {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn i {
    font-size: 16px;
    width: 100%;
}

.fb-btn {
    background-color: #3b5998;
    color: white;
}

.google-btn {
    border-radius: 20px;
    margin-top: 20px
  
}

.social-btn:hover {
    opacity: 0.8;
}

.right {
    width: 50%;
    text-align: center;
}

.right img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-warning {
    display: none;
    align-items: center;
    color: red;
    font-size: 12px;
    margin-top: 4px;
    gap: 5px;
}

.back-arrow {
    position: absolute;
    top: 120px;
    left: 320px;
    font-size: 24px;
    color: #28a745;
    text-decoration: none;
    z-index: 10;
}

.back-arrow:hover {
    color: #007BFF;
}

.input-warning i {
    font-size: 14px;
}

.social-login-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-left: 20px;
}

.google-btn,
.facebook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    width: 150px;
    transition: background 0.3s ease;
}

.google-btn {
    background-color: #DB4437;
}

.google-btn:hover {
    background-color: #C33D2E;
}

.facebook-btn {
    background-color: #4267B2;
}

.facebook-btn:hover {
    background-color: #365899;
}

.google-btn i,
.facebook-btn i {
    margin-right: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

