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

:root {
    --primary: #FF6B35;
    --primary-hover: #E85A2A;
    --background: #FFFFFF;
    --foreground: #1A1A1A;
    --muted: #6B7280;
    --muted-foreground: #9CA3AF;
    --border: #E5E7EB;
    --input-border: #D1D5DB;
    --success: #22C55E;
    --warning: #F59E0B;
    --weak: #EF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    font-size: 24px;
    font-weight: 600;
    color: var(--foreground);
}

.card {
    width: 100%;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.subtitle {
    color: var(--muted);
    text-align: center;
    margin-bottom: 32px;
    font-size: 14px;
}

.email-highlight {
    color: var(--foreground);
    font-weight: 500;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--foreground);
}

input[type="email"],
input[type="password"] {
    min-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    background: var(--background);
    color: var(--foreground);
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #635BFE;
    box-shadow: 0 0 0 3px rgba(100, 53, 255, 0.1);
}

input.error {
    border-color: var(--weak);
}

input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 40px;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid var(--input-border);
}

input:focus {
    outline: none;
    border-color: #635BFE;
    box-shadow: 0 0 0 3px rgba(100, 53, 255, 0.1);
}

s .password-input-wrapper .toggle-password {
    position: absolute;
    right: 10px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--foreground);
}

.error-message {
    display: block;
    color: var(--weak);
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.password-strength {
    margin-bottom: 16px;
}

.strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background-color: #E5E7EB;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.strength-bar.active {
    background-color: currentColor;
}

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

.password-strength.weak {
    color: var(--weak);
}

.password-strength.medium {
    color: var(--warning);
}

.password-strength.excellent {
    color: var(--success);
}

.password-requirements {
    list-style: none;
    margin-bottom: 24px;
    padding-left: 0;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px;
}

.requirement-icon {
    font-size: 16px;
}

.requirement.met {
    color: var(--success);
}

.requirement.met .requirement-icon::before {
    content: '✓';
}

.btn-primary {
    width: 100%;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.resend-text {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 24px;
}

.resend-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.resend-link:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 24px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--foreground);
}

@media (max-width: 640px) {
    .container {
        padding: 24px 16px;
    }
    .card {
        padding: 24px;
    }
    h1 {
        font-size: 24px;
    }
}