* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo-bar {
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
}

.logo-bar img {
    height: 40px;
}

.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
}

h2 {
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    height: 50px;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    z-index: 2;
}

.login-btn {
    padding: 14px;
    background: linear-gradient(90deg, #4fd1c5, #3b82f6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.login-btn.active {
    opacity: 1;
    pointer-events: auto;
}

.forgot-password-btn {
    padding: 14px;
    background: linear-gradient(90deg, #4fd1c5, #3b82f6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;

    transition: opacity 0.3s ease;
}

    .forgot-password-btn.active {
        opacity: 1;
        pointer-events: auto;
    }

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 12px;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ccc;
    z-index: 0;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.social-btn img {
    width: 24px;
    height: 24px;
}

@media (max-width: 600px) {
    .login-box {
        padding: 20px;
    }
}
