* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: #fafafa;
    color: #1a1a1a;
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 88px 16px 16px;
    overflow: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0 18px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    z-index: 10;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
    animation: fadeIn 0.3s ease-in;
}

h1 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lucide-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.subtitle {
    color: #666;
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 15px;
}

input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

input[type="email"]:hover {
    border-color: #b3b3b3;
}

input[type="email"]:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

button {
    width: 100%;
    padding: 10px 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button:hover:not(:disabled) {
    background: #333;
}

button:active:not(:disabled) {
    background: #0a0a0a;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    background: #fee;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 6px;
    margin-top: 16px;
    display: none;
    font-size: 15px;
    border: 1px solid #fecaca;
}

.error-message.show {
    display: block;
}

.loading {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

