* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  padding: 20px;
  color: #212121;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.box {
  background: #ffffff;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}

.box:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.1);
}

.header {
  background: #1976d2;
  color: white;
  padding: 32px 40px;
  border-radius: 4px;
  margin-bottom: 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

.header p {
  opacity: 0.9;
  font-size: 14px;
}

h2 {
  color: #1976d2;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
}

h3 {
  color: #424242;
  margin: 20px 0 15px 0;
  font-size: 20px;
  font-weight: 500;
}

label {
  display: block;
  margin-top: 15px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

input[type="text"],
input[type="password"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  margin-top: 8px;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 4px 4px 0 0;
  background: #fafafa;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: #1976d2;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(25, 118, 210, 0.1);
}

input[type="file"] {
  border: 2px dashed #bdbdbd;
  background: #fafafa;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}

input[type="file"]:hover {
  border-color: #1976d2;
  background: #f5f5f5;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select[multiple] {
  min-height: 150px;
}

.checkbox-container {
  border: none;
  border-radius: 4px;
  background: #ffffff;
  padding: 16px;
  margin-top: 10px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08);
}

.checkbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #1976d2;
  border-radius: 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-select-all {
  padding: 8px 16px;
  background: white;
  color: #1976d2;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  margin: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.btn-select-all:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selected-count {
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.recipients-grid {
  display: contents;
}

.recipient-card {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  overflow: hidden;
}

.recipient-card:hover {
  border-color: #1976d2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.recipient-card.selected {
  border-color: #1976d2;
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2), 0 8px 16px rgba(25, 118, 210, 0.15);
}

.recipient-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.recipient-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recipient-card.selected .recipient-avatar {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

.recipient-info {
  flex: 1;
  min-width: 0;
}

.recipient-name {
  font-size: 16px;
  font-weight: 600;
  color: #212121;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recipient-card.selected .recipient-name {
  color: #1976d2;
}

.recipient-phone {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
  font-family: 'Courier New', monospace;
}

.recipient-category {
  font-size: 12px;
  color: #1976d2;
  font-weight: 500;
  margin-top: 4px;
}

.recipient-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.recipient-checkbox-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0e0e0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0);
}

.recipient-card.selected .recipient-checkbox-icon {
  background: #1976d2;
  opacity: 1;
  transform: scale(1);
}

.category-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.category-divider-full {
  grid-column: 1 / -1;
  padding: 12px 16px;
  margin: 0 0 15px 0;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-count {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.search-box-container {
  position: relative;
  margin: 15px 0;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-input:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #e0e0e0;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.search-clear-btn:hover {
  background: #bdbdbd;
  color: #333;
}

.no-results-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 20px 0;
}

.checkbox-container::-webkit-scrollbar {
  width: 8px;
}

.checkbox-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.checkbox-container::-webkit-scrollbar-thumb {
  background: #1976d2;
  border-radius: 4px;
}

.checkbox-container::-webkit-scrollbar-thumb:hover {
  background: #1565c0;
}

.category-divider {
  padding: 12px 16px;
  margin: 16px 0 8px 0;
  background: #1976d2;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image-select-card {
  background: #ffffff;
  border-radius: 4px;
  padding: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
}

.image-select-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.image-select-card input[type="radio"]:checked + img,
.image-select-card:has(input[type="radio"]:checked) img {
  border-color: #1976d2 !important;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
}

.image-select-card:has(input[type="radio"]:checked) {
  border: 2px solid #1976d2;
  background: #e3f2fd;
}

input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #1976d2;
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.campaign-card-detail {
  background: #ffffff;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #1976d2;
}

.campaign-card-detail:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.campaign-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 15px 0;
}

.stat-item {
  text-align: center;
  padding: 12px;
  background: #f5f5f5;
  border-radius: 4px;
}

.stat-item.success-stat {
  background: #e8f5e9;
}

.stat-item.pending-stat {
  background: #fff3e0;
}

.stat-item.failed-stat {
  background: #ffebee;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #1976d2;
  margin-bottom: 5px;
}

.stat-item.success-stat .stat-number {
  color: #2e7d32;
}

.stat-item.pending-stat .stat-number {
  color: #e65100;
}

.stat-item.failed-stat .stat-number {
  color: #c62828;
}

.stat-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar-container {
  background: #e0e0e0;
  border-radius: 10px;
  height: 20px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: #1976d2;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.status-active {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-paused {
  background: #fff3e0;
  color: #e65100;
}

.btn-warning {
  background: #f57c00;
  color: white;
  border: none;
}

.btn-warning:hover {
  background: #e65100;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(245, 124, 0, 0.3);
}

.form-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #fafafa;
  border-radius: 4px;
  border-left: 4px solid #1976d2;
}

.form-section h3 {
  margin-top: 0;
}

button {
  margin-top: 24px;
  padding: 12px 24px;
  border: none;
  background: #1976d2;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 4px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button:hover::after {
  width: 300px;
  height: 300px;
}

button:hover {
  background: #1565c0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 8px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-links {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: #1976d2;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1976d2;
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}

.nav-links a:hover {
  color: white;
  border-color: #1976d2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.nav-links a:hover::before {
  transform: scaleX(1);
}

.nav-links a:active {
  transform: translateY(0);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08);
}

.tbl th {
  background: #1976d2;
  color: white;
  padding: 16px;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tbl td {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.tbl tr:hover {
  background: #f5f5f5;
}

.tbl tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.status-pending {
  background: #fff3e0;
  color: #e65100;
}

.status-sent {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-failed {
  background: #ffebee;
  color: #c62828;
}

.status-active {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-paused {
  background: #fff3e0;
  color: #e65100;
}

.status-draft {
  background: #e3f2fd;
  color: #1565c0;
}

.status-completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.error {
  background: #ffebee;
  padding: 16px;
  border-radius: 4px;
  color: #c62828;
  border-left: 4px solid #d32f2f;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.success {
  background: #e8f5e9;
  padding: 16px;
  border-radius: 4px;
  color: #2e7d32;
  border-left: 4px solid #388e3c;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.warning {
  background: #fff3e0;
  padding: 16px;
  border-radius: 4px;
  color: #e65100;
  border-left: 4px solid #f57c00;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.info {
  background: #e3f2fd;
  padding: 16px;
  border-radius: 4px;
  color: #1565c0;
  border-left: 4px solid #1976d2;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

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

.stat-card {
  background: #ffffff;
  color: #212121;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-card-blue {
  border-left: 4px solid #1976d2;
}

.stat-card-green {
  border-left: 4px solid #388e3c;
}

.stat-card-orange {
  border-left: 4px solid #f57c00;
}

.stat-card-purple {
  border-left: 4px solid #7b1fa2;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card-blue .stat-icon {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.stat-card-green .stat-icon {
  background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
}

.stat-card-orange .stat-icon {
  background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.stat-card-purple .stat-icon {
  background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.campaign-card {
  background: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08);
}

.campaign-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.campaign-card h4 {
  color: #1976d2;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
}

.campaign-card .meta {
  color: #666;
  font-size: 13px;
  margin: 5px 0;
}

.campaign-card .message-preview {
  background: white;
  padding: 12px;
  border-radius: 6px;
  margin: 10px 0;
  font-size: 14px;
  color: #555;
  border-left: 3px solid #667eea;
}

.message-row {
  background: #ffffff;
  border-left: 4px solid #1976d2;
  border: none;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.message-row:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.1);
  transform: translateX(4px);
}

.message-row.failed {
  border-left-color: #d32f2f;
  background: #ffebee;
}

.message-row.sent {
  border-left-color: #388e3c;
  background: #e8f5e9;
}

.message-row.pending {
  border-left-color: #f57c00;
  background: #fff3e0;
}

.message-row .time {
  color: #999;
  font-size: 12px;
  margin-top: 8px;
}

small {
  color: #888;
  font-size: 12px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #1976d2;
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.1);
}

.btn-secondary {
  background: #f5f5f5;
  color: #424242;
  border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
  background: #eeeeee;
  border-color: #bdbdbd;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .box {
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .category-section {
    grid-template-columns: 1fr;
  }
  
  .campaigns-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    flex-direction: column;
  }
  
  .tbl {
    font-size: 12px;
  }
  
  .tbl th,
  .tbl td {
    padding: 8px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .category-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sticky Navigation */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  border-bottom: 2px solid #e0e0e0;
}

.sticky-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.sticky-nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: #1976d2;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sticky-nav-links a {
  padding: 8px 16px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background: #f5f5f5;
}

.sticky-nav-links a:hover {
  background: #1976d2;
  color: white;
  border-color: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

/* Menu Grid for Dashboard */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.menu-card {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover::before {
  opacity: 1;
}

.menu-card:hover {
  border-color: #1976d2;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2), 0 8px 16px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.menu-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-card:hover .menu-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

.menu-content {
  flex: 1;
}

.menu-content h3 {
  color: #212121;
  font-size: 20px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.menu-content p {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.menu-arrow {
  font-size: 24px;
  color: #1976d2;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.menu-card:hover .menu-arrow {
  transform: translateX(4px);
}

.menu-card-logout {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  color: white;
  border-color: #c62828;
}

.menu-card-logout .menu-icon {
  background: rgba(255,255,255,0.2);
}

.menu-card-logout .menu-content h3,
.menu-card-logout .menu-content p {
  color: white;
}

.menu-card-logout .menu-arrow {
  color: white;
}

.menu-card-logout:hover {
  border-color: #b71c1c;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3), 0 8px 16px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .sticky-nav-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  
  .sticky-nav-links {
    width: 100%;
    justify-content: center;
  }
  
  .sticky-nav-links a {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-card {
    padding: 20px;
  }
  
  .menu-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  /* Responsive form grid for mobile */
  #add-contact-form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
