/* BRAINSAIT Identity Services - Static CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.identity-app.rtl {
  direction: rtl;
  text-align: right;
}

/* Header */
.app-header {
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.language-toggle {
  display: flex;
  gap: 0.5rem;
}

.language-toggle button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-toggle button.active {
  background: #0ea5e9;
  border-color: #0ea5e9;
}

/* Services */
.services-container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(43, 108, 184, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(26, 54, 93, 0.15);
}

.service-card.selected {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.05);
}

.service-card.healthcare {
  border-left: 4px solid #ea580c;
}

.service-card.premium {
  border-left: 4px solid #2b6cb8;
}

.service-card.basic {
  border-left: 4px solid #0ea5e9;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.service-header h3 {
  color: #1a365d;
  font-size: 1.25rem;
  font-weight: 600;
}

.price {
  background: #1a365d;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
}

.service-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.verification-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 2rem;
}

/* Payment */
.payment-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.payment-section h3 {
  color: #1a365d;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e2e8f0;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-btn:hover,
.payment-btn.selected {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #0ea5e9, #2b6cb8);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Auth Panel */
.auth-panel {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1rem;
  z-index: 50;
}

.login-btn {
  background: #0ea5e9;
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .payment-methods {
    grid-template-columns: 1fr;
  }
  
  .auth-panel {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 1rem;
  }
}
