/* Phiten Product Documents & Certificates Tab */
.phiten-docs-wrapper {
    margin: 10px 0 25px;
    font-family: inherit;
}
.phiten-docs-intro {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 24px;
}
.phiten-docs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #1e40af;
    margin-bottom: 8px;
}
.phiten-docs-badge svg {
    color: #2563eb;
}
.phiten-docs-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
    margin: 0;
}
.phiten-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}
.phiten-doc-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.phiten-doc-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 16px rgba(59,130,246,0.12);
    transform: translateY(-2px);
}
.phiten-doc-card--featured {
    border-color: #93c5fd;
    background: #fbfdff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.phiten-doc-featured-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(37,99,235,0.3);
}
.phiten-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.phiten-doc-category {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.phiten-doc-type-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.phiten-doc-type-badge--pdf {
    background: #fee2e2;
    color: #dc2626;
}
.phiten-doc-type-badge--png {
    background: #e0e7ff;
    color: #4338ca;
}
.phiten-doc-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 6px;
}
.phiten-doc-sub {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 16px;
    flex-grow: 1;
}
.phiten-doc-footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.phiten-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.phiten-doc-btn--primary {
    background: #2563eb;
    color: #ffffff !important;
    flex: 1;
}
.phiten-doc-btn--primary:hover {
    background: #1d4ed8;
    color: #ffffff !important;
}
.phiten-doc-btn--secondary {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #e2e8f0;
}
.phiten-doc-btn--secondary:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}
@media (max-width: 640px) {
    .phiten-docs-grid {
        grid-template-columns: 1fr;
    }
}
