* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.login-header p {
    font-size: 15px;
    color: #555;
}

/* Form Group */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.3);
    background: transparent;
    outline: none;
    transition: 0.3s ease;
}

/* Bottom black line */
.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: black;
    transition: 0.3s ease;
}

/* Floating Label */
.input-wrapper label {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 16px;
    color: #777;
    pointer-events: none;
    transition: 0.3s ease;
    background: white;
    padding: 0 4px;
}

/* Focus / Valid */
.input-wrapper input:focus,
.input-wrapper input:valid {
    border: 2px solid #ff4081;
}

/* Hide black line on focus */
.input-wrapper input:focus ~ .focus-border {
    width: 0;
    opacity: 0;
}

/* Label animation */
.input-wrapper input:focus + label,
.input-wrapper input:valid + label {
    top: -8px;
    font-size: 12px;
    color: #000;
    font-weight: 500;
}

/* Password */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Error */
.error-message {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    display: none;
}

/* Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .remember-wrapper input {
    display: none;
} */

.checkmark {
    width: 18px;
    height: 18px;
    /* border: 1px solid #000; */
    border-radius: 4px;
}

.remember-wrapper input:checked ~ .checkbox-label .checkmark {
    background: #ff4081;
}

/* Forgot */
.forgot-password {
    font-size: 14px;
    color: black;
    text-decoration: none;
}

.forgot-password:hover {
    color: #ff4081;
}

/* Button */
.btn {
    width: 100%;
    padding: 16px;
    background: #ff4081;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #ff4081;
}

/* Divider */
.divider {
    text-align: center;
    margin: 24px 0;
    font-size: 14px;
    color: #000;
}

/* Social */
.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    background: #ff4081;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Signup */
.signup-link {
    text-align: center;
    font-size: 14px;
}

.signup-link a {
    color: black;
    font-weight: 500;
}
