:root {
  --primary-color: #1a365d;
  --primary-light: #2a4a7f;
  --accent-color: #3498db;
  --text-color: #333;
  --error-color: #e74c3c;
  --success-color: #27ae60;
  --background-color: #f5f7fa;
  --card-background: #ffffff;
  --border-color: #e1e5ea;
  --input-background: #f9fafc;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
}

.container {
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

.support-card {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 24px;
  text-align: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.logo-icon {
  margin-right: 12px;
  color: white;
}

h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

.tagline {
  font-size: 0.9rem;
  opacity: 0.8;
}

.card-content {
  padding: 32px 24px;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.secure-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--success-color);
  margin-bottom: 24px;
}

.lock-icon {
  margin-right: 6px;
}

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

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--primary-color);
}

input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--input-background);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
  min-height: 20px;
}

.connect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.connect-btn:hover {
  background-color: var(--primary-light);
}

.connect-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.3);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.connect-btn.loading .btn-text {
  opacity: 0;
}

.connect-btn.loading .btn-loader {
  opacity: 1;
  visibility: visible;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.security-info {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.hidden {
  display: none;
}

.confirmation {
  text-align: center;
}

.confirmation-icon {
  color: var(--success-color);
  margin-bottom: 16px;
}

.confirmation h2 {
  color: var(--success-color);
  margin-bottom: 16px;
}

.confirmation p {
  margin-bottom: 16px;
  line-height: 1.5;
}

.wait-message {
  font-weight: 500;
  color: var(--primary-color);
}

.reference {
  margin-top: 24px;
  font-size: 0.9rem;
  background-color: var(--input-background);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

#reference-number {
  font-weight: 600;
  color: var(--primary-color);
}

/* Responsive design */
@media (max-width: 480px) {
  .container {
    padding: 16px;
  }
  
  .card-header {
    padding: 20px;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  .card-content {
    padding: 24px 20px;
  }
}