/* Styles khusus untuk halaman dokumentasi standar */

.standar-content {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-breadcrumb {
    padding: 20px 40px;
    background: rgba(102, 126, 234, 0.1);
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.nav-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-breadcrumb a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.nav-breadcrumb span {
    color: #64748b;
}

.standar-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}

.standar-section h2 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box-large {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-left: 5px solid var(--info);
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
}

.info-box-large h3 {
    color: var(--info);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.info-box-large p {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--dark);
}

.info-box-large ul {
    margin-left: 20px;
    margin-top: 10px;
}

.info-box-large li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.standar-table-container {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.standar-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 1em;
}

.standar-table thead {
    background: var(--gradient-1);
    color: white;
}

.standar-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 1.1em;
    border-bottom: 3px solid var(--primary-dark);
}

.standar-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.standar-table tbody tr {
    transition: background 0.3s ease;
}

.standar-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.standar-table tbody tr:last-child td {
    border-bottom: none;
}

.standar-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 35%;
}

.standar-table td:nth-child(2) {
    font-weight: 700;
    color: var(--primary);
    width: 25%;
    text-align: center;
    font-size: 1.1em;
}

.standar-table td:nth-child(3) {
    color: #64748b;
    width: 40%;
    line-height: 1.6;
}

.warning-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 5px solid var(--warning);
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.warning-box h3 {
    color: #92400e;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.warning-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

.warning-box li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #78350f;
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-back {
    padding: 15px 30px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
}

/* Responsive Design untuk tabel */
@media (max-width: 768px) {
    .standar-content {
        padding: 20px;
    }
    
    .standar-section {
        padding: 20px;
    }
    
    .standar-table {
        font-size: 0.9em;
    }
    
    .standar-table th,
    .standar-table td {
        padding: 10px;
    }
    
    .standar-table td:nth-child(2) {
        font-size: 1em;
    }
    
    .nav-breadcrumb {
        padding: 15px 20px;
        font-size: 0.9em;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-back,
    .btn-print {
        width: 100%;
        text-align: center;
    }
}

/* Classification Cards */
.classification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.classification-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.classification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.classification-header {
    padding: 20px;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.3em;
}

.classification-header.class1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.classification-header.class2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.classification-header.class3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.classification-body {
    padding: 25px;
}

.classification-body p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark);
}

.classification-body p:first-child {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1em;
}

/* Terms Grid */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.term-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
}

.term-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-width: 8px;
}

.term-card h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1em;
}

.term-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Formula Container */
.formula-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.formula-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
}

.formula-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.formula-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-family: 'Courier New', monospace;
}

.formula-box strong {
    display: block;
    word-break: break-all;
}

.formula-card ul {
    margin-left: 20px;
    margin-top: 15px;
}

.formula-card ul li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.formula-card p {
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* Component List */
.component-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.component-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--info);
}

.component-item h4 {
    color: var(--info);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.component-item ul {
    margin-left: 20px;
}

.component-item ul li {
    margin-bottom: 8px;
    line-height: 1.8;
}

/* Print Styles */
@media print {
    .nav-breadcrumb,
    .action-buttons {
        display: none;
    }
    
    .standar-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .standar-table {
        font-size: 0.9em;
    }
    
    .classification-card,
    .term-card,
    .formula-card {
        page-break-inside: avoid;
    }
}
