.guest-list-container { max-width: 1200px; margin: 0 auto; padding: 2rem; background: var(--color-background); color: var(--color-text); } .guest-list-loading { text-align: center; padding: 4rem 2rem; color: var(--color-text-secondary); font-size: 1.1rem; } .guest-list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; } [dir="rtl"] .guest-list-header { flex-direction: row-reverse; } .btn-back { padding: 0.75rem 1.5rem; background: var(--color-text-secondary); color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; } .btn-back:hover { background: var(--color-text-light); } .guest-list-header h2 { margin: 0; color: var(--color-text); font-size: 1.8rem; flex: 1; } .header-actions { display: flex; gap: 1rem; flex-wrap: wrap; } [dir="rtl"] .header-actions { flex-direction: row-reverse; } .btn-members, .btn-add-guest { padding: 0.75rem 1.5rem; background: var(--color-primary); color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; font-weight: 500; transition: background 0.3s ease; } .btn-members:hover, .btn-add-guest:hover { background: var(--color-primary-hover); } .btn-export { padding: 0.75rem 1.5rem; background: var(--color-success); color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; font-weight: 500; transition: background 0.3s ease; } .btn-export:hover { background: var(--color-success-hover); } .btn-duplicate { padding: 0.75rem 1.5rem; background: var(--color-warning); color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; font-weight: 500; transition: background 0.3s ease; } .btn-duplicate:hover { background: var(--color-warning-hover); } .btn-whatsapp { padding: 0.75rem 1.5rem; background: #25d366; color: white; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; font-weight: 500; transition: all 0.3s ease; white-space: nowrap; } .btn-whatsapp:hover { background: #20ba5e; box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3); } .btn-whatsapp:disabled { opacity: 0.6; cursor: not-allowed; } .pagination-controls { display: flex; gap: 12px; align-items: center; padding: 15px; background: var(--color-background-secondary); border-radius: 8px; margin-bottom: 20px; border: 1px solid var(--color-border); } .pagination-controls label { color: var(--color-text); font-weight: 500; white-space: nowrap; } .pagination-controls select { padding: 8px 12px; border: 1px solid var(--color-border); border-radius: 4px; background: var(--color-background); color: var(--color-text); cursor: pointer; font-size: 14px; transition: all 0.2s ease; } .pagination-controls select:hover { border-color: var(--color-primary); } .pagination-controls select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .error-message { padding: 1rem; background: var(--color-error-bg); color: var(--color-danger); border-radius: 4px; margin-bottom: 1.5rem; border-left: 4px solid var(--color-danger); } [dir="rtl"] .error-message { border-left: none; border-right: 4px solid var(--color-danger); } .guest-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2rem; } .stat-card { background: var(--color-background-secondary); padding: 1.5rem; border-radius: 8px; text-align: center; box-shadow: var(--shadow-light); border: 1px solid var(--color-border); } .stat-label { display: block; color: var(--color-text-secondary); font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 500; } .stat-value { display: block; font-size: 2rem; font-weight: bold; color: var(--color-text); } .selection-bar { background: var(--color-info-bg); padding: 1rem; border-radius: 4px; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; border-left: 4px solid var(--color-primary); } [dir="rtl"] .selection-bar { border-left: none; border-right: 4px solid var(--color-primary); } .selection-text { font-weight: 500; color: var(--color-text); } .guest-filters { margin-bottom: 2rem; display: flex; gap: 2rem; align-items: flex-end; flex-wrap: wrap; } [dir="rtl"] .guest-filters { flex-direction: row-reverse; } .filter-group { display: flex; flex-direction: column; gap: 0.5rem; } .guest-filters label { font-weight: 500; color: var(--color-text); } .guest-filters select { padding: 0.5rem 1rem; border: 1px solid var(--color-border); border-radius: 4px; font-size: 1rem; background: var(--color-background-secondary); color: var(--color-text); cursor: pointer; min-width: 200px; transition: border-color 0.3s ease; } .guest-filters select:hover, .guest-filters select:focus { border-color: var(--color-primary); outline: none; } .empty-state { text-align: center; padding: 4rem 2rem; color: var(--color-text-secondary); background: var(--color-background-secondary); border-radius: 8px; border: 1px dashed var(--color-border); } .empty-state p { font-size: 1.1rem; margin-bottom: 2rem; } .btn-add-guest-large { padding: 1rem 2rem; background: var(--color-primary); color: white; border: none; border-radius: 4px; font-size: 1.1rem; cursor: pointer; font-weight: 500; transition: background 0.3s ease; } .btn-add-guest-large:hover { background: var(--color-primary-hover); } .guests-table { background: var(--color-background-secondary); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-light); border: 1px solid var(--color-border); } table { width: 100%; border-collapse: collapse; } thead { background: var(--color-background-tertiary); border-bottom: 2px solid var(--color-border); } th { padding: 1rem; text-align: left; font-weight: 600; color: var(--color-text); font-size: 0.95rem; vertical-align: middle; } [dir="rtl"] th { text-align: right; } .checkbox-cell { width: 50px; text-align: center; padding: 1rem 0; } [dir="rtl"] .checkbox-cell { text-align: center; } input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--color-primary); } tbody tr { border-bottom: 1px solid var(--color-border); transition: background-color 0.2s ease; } tbody tr:hover { background: var(--color-background); } tbody tr.selected { background: var(--color-info-bg); } td { padding: 1rem; vertical-align: middle; color: var(--color-text); } [dir="rtl"] td { text-align: right; } .guest-name { font-weight: 500; color: var(--color-text); } .rsvp-badge { display: inline-block; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 500; text-align: center; min-width: 100px; } .rsvp-confirmed { background: var(--color-success); color: white; } .rsvp-declined { background: var(--color-danger); color: white; } .rsvp-invited { background: var(--color-warning); color: white; } .guest-actions { display: flex; gap: 0.5rem; justify-content: flex-start; } [dir="rtl"] .guest-actions { flex-direction: row-reverse; justify-content: flex-end; } .btn-edit-small, .btn-delete-small { padding: 0.5rem 0.75rem; border: none; border-radius: 4px; font-size: 0.9rem; cursor: pointer; font-weight: 500; transition: background 0.3s ease; } .btn-edit-small { background: var(--color-primary); color: white; } .btn-edit-small:hover { background: var(--color-primary-hover); } .btn-delete-small { background: var(--color-danger); color: white; } .btn-delete-small:hover { background: var(--color-danger-hover); } /* Responsive */ @media (max-width: 768px) { .guest-list-header { flex-direction: column; align-items: stretch; } [dir="rtl"] .guest-list-header { flex-direction: column-reverse; } .btn-back { width: 100%; } .guest-list-header h2 { width: 100%; } .header-actions { width: 100%; flex-wrap: wrap; } .btn-members, .btn-add-guest, .btn-export { flex: 1; min-width: 120px; } .guest-stats { grid-template-columns: repeat(2, 1fr); } table { font-size: 0.9rem; } th, td { padding: 0.75rem; } .guest-actions { flex-direction: column; } .btn-edit-small, .btn-delete-small { width: 100%; } .guest-filters { flex-direction: column; gap: 1rem; } [dir="rtl"] .guest-filters { flex-direction: column; } .filter-group { width: 100%; } .guest-filters select { width: 100%; min-width: unset; } }