main {
  background: rgba(205, 92, 92, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 45px;
  border-radius: 24px;
  width: 525px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 1.5);
}
.container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 450px;
  padding: 40px;
}

.dashboard {
  max-width: 600px;
}

h2 {
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  font-size: 28px;
}

.form-group {
  margin-bottom: 20px;
}

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

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
  font-family: inherit;
}

/* Custom Date Picker Styles */
input[type="date"] {
  position: relative;
  cursor: pointer;
  color: #333;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(0.5);
  transition: opacity 0.3s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Firefox date picker */
input[type="date"]::-moz-calendar-picker-indicator {
  cursor: pointer;
}

/* Custom date picker container */
.date-picker-wrapper {
  position: relative;
}

.custom-date-picker {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: white;
  border: 2px solid #667eea;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin-top: 5px;
  width: 320px;
}

.custom-date-picker.active {
  display: block;
}

.date-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.date-picker-select {
  flex: 1;
  padding: 8px 10px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  background: white;
}

.date-picker-select:focus {
  outline: none;
  border-color: #667eea;
}

.calendar-grid {
  margin-top: 15px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.calendar-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #667eea;
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.calendar-day:hover {
  background: #f0f0f0;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.disabled:hover {
  background: transparent;
}

.calendar-day.selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
}

.calendar-day.today {
  border-color: #667eea;
  font-weight: 600;
}

.date-picker-footer {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.date-picker-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.date-picker-btn.cancel {
  background: #e0e0e0;
  color: #666;
}

.date-picker-btn.cancel:hover {
  background: #d0d0d0;
}

.date-picker-btn.ok {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.date-picker-btn.ok:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
}

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

.error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.error.show {
  display: block;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #e74c3c;
}

.gender-group {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

input[type="radio"] {
  margin-right: 8px;
  cursor: pointer;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button:active {
  transform: translateY(0);
}

.toggle-link {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.toggle-link a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.toggle-link a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.user-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.user-info p {
  margin-bottom: 10px;
  color: #333;
}

.user-info strong {
  color: #667eea;
}

.btn-secondary {
  background: linear-gradient(135deg, #868e96 0%, #495057 100%);
  margin-top: 10px;
}

.admin-panel {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.user-list {
  max-height: 400px;
  overflow-y: auto;
}

.user-card {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 4px solid #667eea;
}

.user-card h4 {
  color: #667eea;
  margin-bottom: 10px;
}

.user-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
}

.status-online {
  background: #d4edda;
  color: #155724;
}

.status-offline {
  background: #f8d7da;
  color: #721c24;
}
button {
  width: 100%;
  padding: 14px;
  background: #a0452e;
  color: white;
  border: 1px solid #cd5c5c;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

button:hover {
  background: #be533a;
  transform: translateY(-2px);
}
