/*
 * Unified input gate prototype (issue #224). The demo theme carries
 * the base typography; these rules shape the gate itself.
 */

.talim-inputgate { max-width: 50rem; margin: 0 auto; color: #333333; }
.talim-inputgate h2, .talim-inputgate h3 { color: #7d2c6e; }
.ig-title { border-bottom: 2px solid #7d2c6e; padding-bottom: 0.3rem; }
.ig-lead { margin: 0.5rem 0 1.2rem 0; }
.ig-hint { font-size: 0.85rem; color: #666666; margin: 0.3rem 0 0 0; }

.ig-rail { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.2rem 0; }
.ig-rail-step { padding: 0.25rem 0.7rem; border-radius: 999px; background: #e8e8e8; color: #333333; font-size: 0.85rem; }
.ig-rail-done { background: #442e66; color: #ffffff; }
.ig-rail-current { background: #7d2c6e; color: #ffffff; font-weight: 600; }

.ig-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
.ig-card { background: #ffffff; border: 1px solid #e6dfd9; border-radius: 12px; padding: 1.25rem; }
.ig-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: #7d2c6e; margin-bottom: 0.25rem; }

.ig-form .ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.ig-field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.ig-field label, .ig-sel label { font-size: 0.9rem; font-weight: 600; }
.ig-form textarea, .ig-form input[type="text"], .ig-form input[type="file"], .ig-form select {
	padding: 0.55rem 0.7rem; border: 1px solid #c9bfc6; border-radius: 8px; font-size: 1rem; font-family: inherit;
}

.ig-fieldset { border: 1px solid #e6dfd9; border-radius: 10px; padding: 0.9rem 1rem; margin: 0 0 1.1rem 0; }
.ig-fieldset legend { font-weight: 700; color: #442e66; padding: 0 0.4rem; }
.ig-inline { display: block; margin: 0.35rem 0; font-size: 0.95rem; }
.ig-sel { margin-bottom: 0.6rem; }
.ig-sel select { padding: 0.4rem 0.6rem; border: 1px solid #c9bfc6; border-radius: 8px; font-size: 0.95rem; }

.ig-btn { margin-top: 0.8rem; padding: 0.65rem 1.2rem; background: #7d2c6e; color: #ffffff; border: 2px solid #7d2c6e; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.ig-btn:hover { background: #ffd500; border-color: #ffd500; color: #442e66; }
.ig-btn-secondary { background: #442e66; border-color: #442e66; }
.ig-btn-secondary:hover { background: #ffd500; border-color: #ffd500; color: #442e66; }

.ig-tablewrap { overflow-x: auto; margin-bottom: 1rem; }
.ig-table { border-collapse: collapse; width: 100%; background: #ffffff; }
.ig-table th, .ig-table td { border: 1px solid #e6dfd9; padding: 0.55rem 0.7rem; text-align: left; font-size: 0.95rem; }
.ig-table th { background: #f7f2f6; color: #442e66; }
.ig-table select { padding: 0.35rem 0.5rem; border: 1px solid #c9bfc6; border-radius: 6px; }

.ig-list { padding-left: 1.2rem; }
.ig-list li { margin: 0.3rem 0; }

.ig-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.ig-review-card { margin-bottom: 0.8rem; }
.ig-review-card h3 { margin: 0.4rem 0 0.2rem 0; }
