/* assets/style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}
header {
    text-align: center;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 25px;
    margin-bottom: 30px;
}
header h1 {
    color: #1a73e8;
    margin: 0 0 10px 0;
    font-size: 28px;
}
header p {
    color: #666;
    margin: 0;
    font-size: 15px;
}
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.tab-btn {
    background: #f1f3f4;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    color: #5f6368;
    transition: all 0.2s;
}
.tab-btn:hover { background: #e8eaed; }
.tab-btn.active {
    background: #1a73e8;
    color: #fff;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.form-group { margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: #444; }
input[type="text"], input[type="file"], select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd0d5;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    background: #fafafa;
}
input:focus, select:focus { border-color: #1a73e8; outline: none; background:#fff; }
.hidden-fields {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #e37400;
    margin-top: 20px;
}
.hidden-fields h3 { margin-top: 0; color: #e37400; font-size: 16px; }
.btn {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background: #1557b0; }
.btn-secondary { background: #5f6368; }
.btn-secondary:hover { background: #4f5256; }

.alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; font-weight: 500; font-size: 14px; }
.alert-danger { background: #fce8e6; color: #c5221f; }

.preview-box { margin-top: 35px; border-top: 2px dashed #ddd; padding-top: 25px; }
.preview-box h3 { color: #137333; }
pre { background: #1e1e1e; color: #d4d4d4; padding: 20px; border-radius: 8px; overflow-x: auto; font-family: 'Consolas', monospace; font-size: 13px; line-height: 1.6; }

.doc-section { background: #f8f9fa; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.doc-section h3 { margin-top: 0; color: #333; font-size: 16px; }
.doc-section p { margin-bottom: 0; color: #555; font-size: 14px; line-height: 1.6; }
ul { padding-left: 20px; font-size: 14px; color: #555; line-height: 1.6; }