/* newcss */

.paint{
    background-color: var(--tertiary);
    border-radius: 8px;
    border: 1px solid #111;
    margin: 10px;
    width:  150px !important;
    height:  50px;
}

.paint:hover{
    background-color: var(--primary-color);
    border-radius: 8px;
    border: 2px solid #111;
}

.contract-version {
    background-color: #fff3e0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.modal-pdf {
    width: 100%;
    height: 75vh;
    border: none;
}

.question-card {
    margin-bottom: 20px;
    border-left: 4px solid #FF8C00;
}

.question-header {
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.comment-box {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}
.template-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}
.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}
.template-card.selected {
    border-color: #FF8C00;
}
.required-marker {
    color: red;
    margin-left: 4px;
}
.badge.bg-warning {
    color: #000 !important;
}
.btn-group-sm {
    display: flex;
    gap: 5px;
}
.dropdown-menu {
    min-width: 8rem;
}
.btn-group .dropdown-toggle::after {
    margin-left: 0.255em;
}
.rsvp-link {
    font-size: 0.8em;
}
.input-group-sm {
    max-width: 280px;
}
.btn-copy-link i {
    min-width: 14px;
}

.header-bar {
    background-color: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.search-box {
    margin-bottom: 20px;
}
.search-section {
    background-color: var(--tertiary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.guest-card {
    margin-bottom: 15px;
    border-left: 5px solid #dee2e6;
    transition: all 0.3s ease;
}

.guest-confirmed {
    border-left-color: #28a745;
}
.guest-pending {
    border-left-color: #ffc107;
}
.guest-declined {
    border-left-color: #dc3545;
}
.guest-checked-in {
    background-color: #d4edda;
}
.badge-checkin {
    background-color: #28a745;
    color: white;
}

.public-badge {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border-radius: 4px;
    z-index: 1000;
}

.header {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.event-header {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    padding: 20px;
    margin-bottom: 20px;
}

.event-info {
    margin-bottom: 10px;
}
.event-info p {
    margin: 5px 0;
}
.event-date {
    font-weight: bold;
    color: #0d6efd;
}

/* components */

.search-section {
    background-color: var(--tertiary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.fixed-footer {
    position: fixed;
    height: 45px;
    right: 0;
    bottom: 0;
    left: 0;
    /*z-index: 1030;*/
}

/* Status badges */
.badge.status-pending {
    background-color: #ffc107;
}

.badge.status-confirmed {
    background-color: #28a745;
}

.badge.status-declined {
    background-color: #dc3545;
}

.checklist-item {
    border-left: 3px solid #dee2e6;
    padding-left: 15px;
    margin-bottom: 10px;
}

.checklist-item.completed {
    border-left-color: #28a745;
}

.checklist-header {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    padding: 20px;
    margin-bottom: 20px;
}


.file-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.file-card {
    transition: transform 0.2s;
}

.file-card:hover {
    transform: translateY(-5px);
}

.file-type-image { color: #28a745; }
.file-type-document { color: #007bff; }
.file-type-video { color: #dc3545; }
.file-type-audio { color: #6f42c1; }
.file-type-other { color: #6c757d; }

/* Estilos para a Timeline */
.timeline {
    position: relative;
    padding: 0 0 0 30px; /* Espaço para a linha vertical */
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px; /* Posição da linha vertical */
    width: 2px;
    background-color: #e0e0e0; /* Cor da linha */
}

.timeline-item {
    position: relative;
    margin-bottom: 25px; /* Espaçamento entre os itens */
    background-color: #fff; /* Fundo do card */
    border-radius: .3rem; /* Borda arredondada do card */
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px; /* Ajusta a posição do círculo */
    top: 15px; /* Alinha com o conteúdo */
    width: 12px;
    height: 12px;
    background-color: #007bff; /* Cor do círculo (azul do Bootstrap) */
    border: 2px solid #fff; /* Borda branca para destacar */
    border-radius: 50%;
    z-index: 1; /* Garante que o círculo fique acima da linha */
}

.timeline-time {
    font-weight: bold;
    color: #6c757d; /* Cor do texto da hora */
}

/* Opcional: Efeito hover para os cards */
.timeline-item:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease-in-out;
}

.timeline-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    background-color: #6c757d;
    color: white;
}
.timeline-panel {
    margin-left: 60px;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.timeline-heading {
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.timeline-footer {
    border-top: 1px solid #f8f9fa;
    padding-top: 10px;
    margin-top: 10px;
}
.timeline-title {
    margin-top: 0;
    font-weight: 600;
}

.accordion {
    /* Cor do texto do botão ativo */
    --bs-accordion-active-color: var(--bs-laranja); 
    
    /* Cor de fundo do botão ativo */
    --bs-accordion-active-bg: var(--bs-laranja-claro); 
    
    /* Cor da borda de foco para remover o azul padrão */
    --bs-accordion-btn-focus-border-color: var(--bs-laranja); 
    
    /* Cor do Box Shadow (anel de foco) */
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(253, 126, 20, .25);
}