body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 720px;
    margin: 40px auto;
    background: #fff;
    padding: 24px 28px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h1 {
    font-size: 26px;
    margin-bottom: 16px;
}

h2 {
    margin-top: 32px;
    font-size: 18px;
}

form {
    margin-bottom: 24px;
}

input[type="file"],
input[type="text"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    background: #1e4fd6;
}

hr {
    margin: 32px 0;
    border: none;
    border-top: 1px solid #eee;
}

footer {
    font-size: 13px;
    color: #666;
    margin-top: 40px;
    text-align: center;
}

footer a {
    color: #2563eb;
    text-decoration: none;
}

button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    color: #555;
    background: #f9fafb;
    cursor: pointer;
    margin-bottom: 16px;
    transition: border-color 0.2s, background 0.2s;
}

.dropzone.dragover {
    background: #eef2ff;
    border-color: #2563eb;
}

.dropzone p {
    margin: 0;
    font-size: 14px;
}

.file-list {
    font-size: 13px;
    margin-top: 8px;
    color: #333;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.tool-card {
    display: block;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #222;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tool-card strong {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
}

.tool-card span {
    font-size: 13px;
    color: #555;
}

.tool-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.tool-card-icon {
    width: 18px;
    height: 18px;
    margin-bottom: 8px;
    color: #2563eb;
}

.success-box {
    padding: 16px;
    background: #ecfeff;
    border: 1px solid #67e8f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 10px 14px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.download-btn:hover {
    background: #1e40af;
}


