:root {
  --primary: #ffffff;
  --primary-hover: #f8f8f8;
  --bg-gradient: linear-gradient(135deg, #ff7eb3, #ff758c);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.9);
  --error: #ef4444;
  --success: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.container {
  width: 100%;
  max-width: 600px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(255, 117, 140, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  margin-bottom: 2rem;
}

.header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
}

.header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.admin-header h1 {
  font-size: 1.8rem;
  color: #ffffff;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #ffffff;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

select,
input[type="date"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px;
  background: white;
  border: none;
  border-radius: 12px;
  color: black;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit {
  background: white;
  color: #0000ff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
  background: #f8f8f8;
  transform: scale(1.03);
}

.btn-no {
  background: white;
  color: #0000ff;
}

.btn-no:hover {
  background: #f8f8f8;
}

.alert {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.success-msg {
  font-size: 1.4rem;
  color: white;
  font-weight: bold;
  margin-top: 2rem;
  padding: 2rem;
}

.alert.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Admin Styles */
.btn-logout {
  padding: 0.6rem 1.2rem;
  background: white;
  color: #ff97fa;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  font-weight: bold;
}

.btn-logout:hover {
  background: #f8f8f8;
}

.messages-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.message-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.message-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.8rem;
}

.message-header strong {
  font-size: 1.2rem;
  color: #333;
}

.message-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.message-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.message-detail-item {
  font-size: 1rem;
  color: #444;
}

.message-body {
  color: #ff71e3;
  line-height: 1.6;
  background: rgba(255, 117, 140, 0.1);
  padding: 1rem;
  border-radius: 8px;
  font-style: italic;
}

.no-messages {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}