/* Admin Login Styles */
.admin-login-section {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.admin-login-container {
  background-color: var(--color-light);
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-login-header h2 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.admin-login-container .form-group {
  margin-bottom: 1.5rem;
}

.admin-login-container .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Estilos para la tabla de invitados */
.guests-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    overflow: hidden;
}

.guests-table thead {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    color: white;
}

.guests-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guests-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.guests-table tbody tr:hover {
    background-color: #f8f9fa;
}

.guests-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status colors */
.status-0 {
    color: #f39c12;
    font-weight: 600;
}

.status-1 {
    color: #27ae60;
    font-weight: 600;
}

.status-2 {
    color: #c0392b;
    font-weight: 600;
}

/* Action buttons */
.btn-edit-guest,
.btn-delete-guest {
    padding: 6px 12px;
    margin: 0 4px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
}

.btn-edit-guest {
    color: #3498db;
}

.btn-delete-guest {
    color: #e74c3c;
}

.btn-edit-guest:hover {
    background: #3498db;
    color: white;
}

.btn-delete-guest:hover {
    background: #e74c3c;
    color: white;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

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

.stat-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #3498db;
    margin: 10px 0;
}

.stat-percent {
    color: #7f8c8d;
    font-size: 14px;
}

/* Container padding */
.admin-container {
    padding: 30px;
}

/* Table responsive */
@media (max-width: 768px) {
    .guests-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
}

/* Export buttons */
.export-buttons {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.export-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.export-buttons .btn:hover {
    background: #3498db;
    color: white;
}

/* Add Guest Button */
#add-guest-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#add-guest-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
}

/* Section headers */
.admin-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.admin-header p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.admin-actions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-actions-header h3 {
    color: #2c3e50;
    font-size: 20px;
}

/* Message column max width */
.guests-table td:nth-child(6) {
    max-width: 200px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}
