/* =========================================
   Event Header Container (Dropdown + Planner Button)
   ========================================= */
.event-header-container {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-md);
}

.event-selector-container {
    flex-grow: 1;
    text-align: right;
    max-width: fit-content;
}

/* =========================================
   Planner Button
   ========================================= */
.btn-planner {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-planner:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.btn-planner svg {
    width: 3rem;
    height: 3rem;
    fill: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-planner:hover svg {
    fill: #2980b9; 
}

/* =========================================
   Button Container
   ========================================= */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--spacing-lg);
}

/* =========================================
   Summary Section (at the bottom)
   ========================================= */
.summary-section {
    margin-top: auto; /* Push to bottom of container */
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.summary-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    direction: rtl;
}

/* Total guests summary card */
.total-guests {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.summary-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.summary-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.summary-value.arrived {
    color: var(--secondary-color);
}

.summary-value.pending {
    color: var(--danger-color);
}

/* Relations breakdown card */
.relations-breakdown {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.relations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.relation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.relation-item:hover {
    background-color: #f0f0f0;
}

.relation-name {
    font-weight: bold;
    color: var(--text-dark);
}

.relation-count {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrived-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.total-badge {
    background-color: #ddd;
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}
