
.fd-header-offset {
    padding-top: 132px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 991px) {
    .fd-header-offset {
        padding-top: 100px;
    }
}

.fd-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
}

.fd-sidebar-buttons .btn {
    border-radius: 8px;
}

.fd-doc-lista,
.fd-doc-viewer {
    background: #fff;
    border-radius: 8px;
}

.fd-doc-lista {
    border: 1px solid #e6e6e6;
    min-height: 400px;
}

.fd-doc-vazio {
    border: 1px dashed #d0d0d0;
    border-radius: 8px;
}

.fd-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fd-doc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: .9rem;
    transition: background-color .15s ease;
}

.fd-doc-list li:last-child {
    border-bottom: none;
}

.fd-doc-list li:hover {
    background: #f5f8fc;
}

.fd-doc-list li.active {
    background: #eaf1fb;
    color: #0c447c;
    font-weight: 600;
}

.fd-doc-lista-titulo {
    font-weight: 700;
    margin-bottom: 10px;
}

.fd-doc-viewer-frame {
    width: 100%;
    min-height: 400px;
    height: 70vh;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.fd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
}

.fd-modal {
    background: #fff;
    border-radius: 10px;
    max-width: 560px;
    width: 92%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.fd-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.fd-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

.fd-modal-body p {
    line-height: 1.6;
    margin-bottom: 14px;
}

.fd-modal-steps {
    padding-left: 20px;
    margin-bottom: 16px;
}

.fd-modal-steps li {
    line-height: 1.6;
    margin-bottom: 8px;
}

.fd-modal-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eaf1fb;
    color: #0c447c;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.fd-modal-note i {
    margin-top: 2px;
}

.fd-alert-warning {
    background: #fdf1e0;
    color: #854f0b;
}

.fd-arquivo-upload {
    position: relative;
}

.fd-arquivo-upload input[type="file"] {
    display: none;
}

.fd-arquivo-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 14px;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.fd-arquivo-trigger:hover {
    background: #f5f8fc;
    border-color: #05579e;
    color: #05579e;
}

.fd-arquivo-trigger.is-invalid {
    border-color: #dc3545;
}

.fd-arquivo-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d7ead9;
    background: #f3faf4;
    border-radius: 6px;
    padding: 8px 10px;
}

.fd-arquivo-card .fd-icon-pdf {
    color: #dc3545;
    font-size: 1.3rem;
}

.fd-arquivo-card .fd-icon-dwg {
    color: #05579e;
    font-size: 1.3rem;
}

.fd-arquivo-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.fd-arquivo-nome {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2a2a2a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fd-arquivo-tamanho {
    font-size: 0.76rem;
    color: #888;
}

.fd-arquivo-card button {
    border: none;
    background: none;
    padding: 4px 6px;
    color: #888;
    border-radius: 4px;
    transition: background-color .15s ease, color .15s ease;
}

.fd-arquivo-card button:hover {
    background: rgba(0, 0, 0, 0.06);
}

.fd-arquivo-card .fd-arquivo-remover:hover {
    color: #dc3545;
}

.fd-arquivo-card .fd-arquivo-trocar:hover {
    color: #05579e;
}
