:root {
    --borg-main: #071D49;
    --borg-dark-main: #010E27;
    --borg-secondary: #05C3DE;
    --borg-hover: #ED9808;
    --borg-grey: #7A7A7A;
    --borg-black: #222;
    --borg-white: #FFF;
    --borg-dark-white: #F7F7F7;
    --borg-green: #7ED321;
    --borg-red: #D0021B;
    --borg-bradius: 16px;
    --borg-bradius-btn: 10px;
    --borg-bradius-cards: 30px;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --borg-negociacao: #FFF691;
    --borg-assinatura: #C9FF66;
    --borg-finalizado: #68FF90;
    --borg-perdido: #FF6E6E;
}


body {
    background: var(--borg-dark-main);
}

/* Header */

header {
    margin: 1% auto;
    border-radius: var(--borg-bradius);
}


/* Footer */

.footer {
    background: #fff;
    color: #071b2f;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    width: 97%;
    margin: 0 auto 1.5% auto;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.footer-nav a {
    text-decoration: none;
    color: #071b2f;
    font-weight: 600;
}

.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #444;
}


/* Modal */

.cliente-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cliente-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

.modal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    animation: slideUpModal 0.3s ease-out;
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.spinner {
    font-size: 2rem;
    color: #0066cc;
}

.editable{
    cursor: pointer;
}

@media (max-width: 768px) {

    .modal-card {
        width: 95%;
        max-height: 95vh;
    }
}