/* assets/reqif/css/reqif-common.css */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Manrope', sans-serif;
}

.card-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #eef2f5;
}

.card-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f4f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 4rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: #3182ce;
    color: white;
}

.btn-primary:hover {
    background-color: #2b6cb0;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #edf2f7;
    color: #4a5568;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    color: #2d3748;
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-2 { gap: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    color: #c53030;
}

.alert-success {
    background: #ebf8fa;
    border-left: 4px solid #3182ce;
    color: #2c5282;
}

.reqif-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.reqif-table th,
.reqif-table td {
    padding: 0.9rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.reqif-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #4a5568;
}

.reqif-table tr.is-chapter {
    background-color: #f8fafc;
}

.reqif-table tr.is-chapter td.req-text {
    font-weight: 700;
    color: #2c3e50;
}

.req-text {
    max-width: 420px;
    white-space: pre-wrap;
}

.req-id {
    font-size: 0.75rem;
    color: #a0aec0;
    font-family: monospace;
}

.req-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.req-images img {
    max-width: 160px;
    max-height: 120px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
}
