* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #7fe7e0, #4a90e2);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Main Card */
.login-box {
    width: 100%;
    max-width: 520px;
    background: #f7f9fc;
    border-radius: 18px;
    padding: 40px 48px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    text-align: center;
}

/* Logo */
.login-logo img {
    width: 60px;
    margin-bottom: 16px;
}

/* Headings */
.login-box h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

.subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

/* Form */
form {
    margin-top: 30px;
}

.form-group {
    text-align: left;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
}
.input-group {
    position: relative;
    margin-bottom: 22px;
}

.input-group input {
    width: 100%;
    padding: 16px 18px;
    font-size: 14px;
    border-radius: 12px;
    border: 1.6px solid #e5e7eb;
    background: #ffffff;
    outline: none;
    transition: all 0.25s ease;
}

/* Hover */
.input-group input:hover {
    border-color: #93c5fd;
}

/* Focus */
.input-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

/* Floating Label */
.input-group label {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #9ca3af;
    font-size: 13px;
    background: #f7f9fc;
    padding: 0 6px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.2s ease;
}

/* When input has value or focused */
.input-group input:focus + label,
.input-group input:valid + label {
    top: -6px;
    font-size: 11px;
    color: #3b82f6;
}

/* Password eye icon (optional) */
.input-group.password {
    position: relative;
}

.input-group.password::after {
    content: "👁";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    cursor: pointer;
    opacity: 0.6;
}
.login-actions {
    margin-top: 24px;
    text-align: center;
}

/* Forgot password */
.forgot-link {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    color: #3b82f6;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Register text */
.register-text {
    margin-top: 18px;
    font-size: 14px;
    color: #6b7280;
}

.register-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}
.login-actions {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Forgot password */
.forgot-link {
    margin-bottom: 16px;
    font-size: 13px;
    color: #3b82f6;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Button override (important) */
.login-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, #6fe0d8, #3b8dde);
    box-shadow: 0 12px 25px rgba(59,141,222,0.35);
}
