/* Clean White Color Scheme */
:root {
  --primary: #4361ee;    /* Vibrant blue */
  --secondary: #3a0ca3;  /* Deep blue */
  --text: #2b2d42;       /* Dark gray-blue */
  --border: #e0e0e0;     /* Lighter gray */
  --hover-bg: #f5f5f5;   /* Very subtle hover */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: white; /* Pure white background */
}

.wrapper {
    width: 420px;
    background: white;
    color: var(--text);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* More subtle shadow */
    border: 1px solid var(--border);
}

.wrapper h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text);
    font-weight: 600;
}

.wrapper h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 3px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    outline: none;
    background: var(--hover-bg);
}

.input-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd; /* Neutral gray for icons */
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 25px;
    font-size: 14px;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text);
}

.remember-forgot a {
    color: var(--primary);
    text-decoration: none;
}

.btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--secondary);
}

.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text);
}

/* Modern checkbox */
input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--border);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 480px) {
    .wrapper {
        width: 90%;
        padding: 30px;
        border: none;
        box-shadow: none;
    }
}