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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.header {
  margin-bottom: 30px;
}

.header h1 {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.header p {
  color: #666;
  font-size: 16px;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:disabled {
  background: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.amount-display {
  background: #e8f5e8;
  border-color: #28a745;
  color: #155724;
  font-weight: 600;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Payment page styles */
.payment-container {
  max-width: 600px;
}

.invoice-info {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 5px solid #667eea;
}

.invoice-info h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
  border-bottom: none;
  font-weight: 600;
  color: #28a745;
}

.info-label {
  color: #666;
  font-weight: 500;
}

.info-value {
  color: #333;
  font-weight: 600;
}

.payment-info {
  background: #fff3cd;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 5px solid #ffc107;
}

.qr-container {
  text-align: center;
  margin-top: 20px;
}

.qr-code {
  max-width: 250px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.status-pending {
  background: #fff3cd;
  color: #856404;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
}

.status-completed {
  background: #d4edda;
  color: #155724;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
}

.status-cancelled {
  background: #f8d7da;
  color: #721c24;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
}

/* Admin table styles */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.admin-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #495057;
}

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

.complete-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.complete-btn:hover {
  background: #218838;
  transform: translateY(-1px);
}

.complete-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.back-btn {
  background: #6c757d;
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.back-btn:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
    margin: 10px;
  }

  .header h1 {
    font-size: 24px;
  }

  .info-row {
    flex-direction: column;
    gap: 5px;
  }

  .qr-code {
    max-width: 200px;
  }
}
