body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f6f8fa;
  margin: 0;
  color: #222;
}
.container {
  max-width: 480px;
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
}
.admin-container {
  max-width: 100%;
  margin: 0;
  padding: 20px;
  background: #fff;
}
#loginSection {
  max-width: 480px;
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
}
h1, h2 {
  color: #1a237e;
  margin-bottom: 16px;
}
form label {
  display: block;
  margin-top: 16px;
  margin-bottom: 4px;
  font-weight: 500;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 8px;
  box-sizing: border-box;
  background: #f9f9fb;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #3949ab;
  outline: none;
}
button {
  background: linear-gradient(90deg, #3949ab 60%, #1e88e5 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #1a237e 60%, #1976d2 100%);
}
.privacy {
  display: flex;
  align-items: center;
  margin-top: 12px;
}
.privacy label {
  margin: 0 0 0 8px;
  font-size: 0.97rem;
}
#formMessage, #loginMessage, #messageStatus {
  margin-top: 12px;
  font-size: 1rem;
  min-height: 24px;
}
#applicationsList {
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .container {
    padding: 16px 4vw;
    max-width: 98vw;
  }
  h1, h2 {
    font-size: 1.3rem;
  }
}

/* Admin felület stílusok */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.admin-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.admin-table tr:hover {
  background-color: #f9f9f9;
}

.action-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.action-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  padding: 5px;
  transition: color 0.3s;
  color: #1a237e;
}

.action-button:hover {
  color: #3949ab;
}

.action-button.delete:hover {
  color: #dc3545;
}

.action-button.anonymize:hover {
  color: #ffc107;
}

/* Reszponzív design */
@media (max-width: 1200px) {
  .container {
    padding: 10px;
  }
  
  .admin-table {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 5px;
  }
  
  .admin-table {
    font-size: 0.8em;
  }
  
  .action-buttons {
    flex-wrap: wrap;
  }
}

/* Megerősítő dialógus */
.confirm-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.confirm-dialog-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.confirm-dialog-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.confirm-dialog-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.confirm-dialog-buttons .confirm {
  background-color: #dc3545;
  color: white;
}

.confirm-dialog-buttons .cancel {
  background-color: #6c757d;
  color: white;
}

/* Értékelések tooltip */
.ratings-tooltip {
  position: fixed;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  max-width: 300px;
}

.rating-item {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.rating-item:last-child {
  border-bottom: none;
}

.rating-item em {
  color: #666;
  font-size: 0.9em;
  display: block;
  margin-top: 3px;
}

/* Modal ablak */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: #1a237e;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  margin: 0;
}

.modal-close:hover {
  color: #1a237e;
}

.modal-body {
  padding: 20px;
  line-height: 1.5;
}

/* Üzenetek stílusok */
.message-item {
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 15px;
  padding: 15px;
  background: #f9f9f9;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.message-date {
  color: #666;
  font-size: 0.9em;
}

.message-body {
  white-space: pre-wrap;
  line-height: 1.5;
}

.no-messages {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
}

/* Napló megjelenítés */
.log-filters {
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}

.log-filters select,
.log-filters input {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.log-container {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.log-table {
  width: 100%;
  border-collapse: collapse;
}

.log-table th,
.log-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.log-table th {
  background-color: #f5f5f5;
  position: sticky;
  top: 0;
}

.log-table tr:hover {
  background-color: #f9f9f9;
}

.log-details {
  font-family: monospace;
  white-space: pre-wrap;
  background-color: #f5f5f5;
  padding: 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* Admin szekciók */
.admin-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.admin-section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #333;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Jelszó változtatás */
.password-requirements {
  display: block;
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.9em;
}

.password-requirements ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.password-requirements li {
  margin: 0.25rem 0;
}

#passwordStatus {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 4px;
}

#passwordStatus:not(:empty) {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
}

/* Üzenet megerősítő ablak */
.confirm-message-details {
  padding: 20px;
}

.confirm-message-details h4 {
  margin: 15px 0 5px 0;
  color: #1a237e;
}

.confirm-message-details ul {
  margin: 0;
  padding-left: 20px;
}

.confirm-message-details pre {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 4px;
  white-space: pre-wrap;
  margin: 5px 0;
}

.password-confirm {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.password-confirm label {
  display: block;
  margin-bottom: 5px;
  color: #1a237e;
}

.password-confirm input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 5px;
}

.error-message {
  color: #dc3545;
  font-size: 0.9em;
  margin-top: 5px;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-footer button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-footer .cancel-btn {
  background: #6c757d;
  color: white;
}

.modal-footer .confirm-btn {
  background: #1a237e;
  color: white;
}

.modal-footer .confirm-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
} 