/* assets/style.css */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f2f5 0%, #ffffff 100%);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2d3436;
}

.container {
    width: 90%;
    max-width: 800px;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5%);
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #6c5ce7;
    border-radius: 2px;
}

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

.form-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #4a4a4a;
}

input[type="text"],
input[type="url"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="url"]:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
    outline: none;
}

input[type="file"] {
    width: 100%;
    padding: 1rem;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    border-color: #6c5ce7;
    background: #f5f3ff;
}

button[type="submit"] {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, #6c5ce7, #a363d9);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button[type="submit"]:hover {
    background: linear-gradient(45deg, #5b4dc0, #8d52c7);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 2rem;
        margin: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    input[type="text"],
    input[type="url"] {
        font-size: 0.95rem;
    }
}

/* 新增样式 */
.input-hint {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    text-align: center;
}

/* 修改文件上传区域 */
input[type="file"] {
    width: 100%;
    padding: 1.5rem;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
}

/* 新增图标URL输入框特殊样式 */
input[name="app_icon_url"] {
    background: #f8f9fa url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="%236c5ce7" xmlns="http://www.w3.org/2000/svg"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 6h-4v2h4v4h2v-4c0-1.1-.9-2-2-2z"/></svg>') no-repeat 98% 50%/20px;
    padding-right: 2.5rem;
}

/* 通用输入框样式 */
input[type="text"],
input[type="url"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

/* 文件上传区域悬停效果 */
input[type="file"]:hover {
    border-color: #6c5ce7;
    background: #f5f3ff;
    transform: translateY(-2px);
}

/* 移动端优化 */
@media (max-width: 480px) {
    input[type="file"] {
        padding: 1rem;
    }
    
    .input-hint {
        font-size: 0.8rem;
    }
}