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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 2rem 0;
}

.register-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo h1 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    width: 100%;
    padding: 0.8rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.alert {
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.links {
    text-align: center;
}

.links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 1rem;
}

/* 应用来源信息样式 */
.app-source-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border: 1px solid #d4e7ff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.app-source-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.app-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.app-source-text {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.app-source-label {
    font-size: 0.9rem;
    color: #666;
}

.app-source-name {
    font-weight: 600;
    color: #667eea;
    font-size: 1rem;
}

.app-source-desc {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}
