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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.auth-container {
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    width: 420px;
    max-width: 100%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .15);
}

.auth-logo {
    text-align: center;
    margin-bottom: 36px;
}

.logo-icon {
    font-size: 72px;
    margin-bottom: 14px;
}

.auth-logo h1 {
    color: #111b21;
    font-size: 30px;
    font-weight: 700;
}

.subtitle {
    color: #667781;
    margin-top: 8px;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 15px 16px 15px 46px;
    background: #f0f2f5;
    border: 2px solid transparent;
    border-radius: 14px;
    color: #111b21;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}

.input-group input:focus {
    border-color: #0088cc;
}

.input-group input::placeholder {
    color: #667781;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.btn-primary {
    padding: 15px;
    background: #0088cc;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    margin-top: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 136, 204, .3);
}

.error {
    background: rgba(231, 76, 60, .1);
    border: 1px solid rgba(231, 76, 60, .3);
    color: #e74c3c;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    color: #667781;
    font-size: 14px;
}

.auth-link a {
    color: #0088cc;
    text-decoration: none;
    font-weight: 600;
}

@media(max-width:480px) {
    .auth-container {
        padding: 36px 24px;
    }
}