/* 
  ORI Registration Form Stylesheet
  Standalone CSS - No external dependencies
  Theme matches St George Shoulder Conference design
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  min-height: 100vh;
  color: #2a2a2a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: #03a4ed;
  color: #fff;
}

::-moz-selection {
  background: #03a4ed;
  color: #fff;
}

/* Container */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, #fe3f40 0%, #ff6b6b 100%);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 15s infinite linear;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.header-content {
  position: relative;
  z-index: 1;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.header h1 span {
  color: #fff;
  opacity: 0.9;
}

.header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 300;
}

.header .conference-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 24px;
  border-radius: 50px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #fff;
  backdrop-filter: blur(10px);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 60px 0;
}

/* Form Card */
.form-card {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #03a4ed 0%, #fe3f40 100%);
}

.form-title {
  text-align: center;
  margin-bottom: 40px;
}

.form-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
}

.form-title h2 em {
  font-style: normal;
  color: #03a4ed;
}

.form-title p {
  color: #6c757d;
  font-size: 0.95rem;
}

/* Form Sections */
.form-section {
  margin-bottom: 35px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fe3f40;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #fe3f40, #03a4ed);
  border-radius: 2px;
}

/* Form Grid */
.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
}

.form-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 600px) {
  .form-row.two-col,
  .form-row.three-col {
    grid-template-columns: 1fr;
  }
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-group label .required {
  color: #fe3f40;
  font-weight: 700;
}

/* Input Styles */
.form-input {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background-color: #e8f7fc;
  border: 2px solid transparent;
  outline: none;
  font-size: 0.95rem;
  font-weight: 400;
  color: #2a2a2a;
  padding: 0 24px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #03a4ed;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(3, 164, 237, 0.1);
}

.form-input::placeholder {
  color: #adb5bd;
}

.form-input:hover {
  background-color: #dff2f9;
}

/* Textarea */
textarea.form-input {
  height: auto;
  min-height: 100px;
  padding: 16px 24px;
  border-radius: 20px;
  resize: vertical;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 30px;
  padding: 15px 0;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #495057;
  padding: 12px 24px;
  border-radius: 26px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.radio-label:hover {
  background: #e8f7fc;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-label .radio-custom {
  width: 22px;
  height: 22px;
  border: 2px solid #adb5bd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.radio-label .radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #03a4ed;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: #03a4ed;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  transform: scale(1);
}

.radio-label:has(input[type="radio"]:checked) {
  background: #e8f7fc;
  border-color: #03a4ed;
}

.radio-label .card-icon {
  font-size: 1.5rem;
}

/* Submit Button */
.submit-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #fe3f40 0%, #ff6b6b 100%);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 50px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(254, 63, 64, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(254, 63, 64, 0.4);
  background: linear-gradient(135deg, #03a4ed 0%, #33b5f0 100%);
}

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

.submit-btn svg {
  width: 20px;
  height: 20px;
}

.submit-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #6c757d;
}

.submit-note strong {
  color: #2a2a2a;
}

/* Footer */
.footer {
  background: #2a2a2a;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

.footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: #03a4ed;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fe3f40;
}

/* Info Box */
.info-box {
  background: linear-gradient(135deg, #e8f7fc 0%, #d1f3ff 100%);
  border-radius: 20px;
  padding: 25px 30px;
  margin-bottom: 30px;
  border-left: 4px solid #03a4ed;
}

.info-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box p {
  font-size: 0.9rem;
  color: #495057;
  margin: 0;
}

.info-box .email-highlight {
  color: #03a4ed;
  font-weight: 600;
}

/* Card Icons */
.card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-brand svg {
  width: 32px;
  height: 20px;
}

/* Signature field */
.signature-note {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 6px;
  font-style: italic;
}

/* Expiry Date Fields */
.expiry-fields {
  display: flex;
  gap: 10px;
  align-items: center;
}

.expiry-fields .form-input {
  width: 80px;
  text-align: center;
}

.expiry-separator {
  font-size: 1.2rem;
  color: #adb5bd;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.8rem;
  }
  
  .form-card {
    padding: 30px 25px;
    border-radius: 20px;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .radio-label {
    justify-content: flex-start;
  }
  
  .submit-btn {
    width: 100%;
    padding: 16px 30px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 30px 0;
  }
  
  .header h1 {
    font-size: 1.5rem;
  }
  
  .main-content {
    padding: 30px 0;
  }
  
  .form-card {
    padding: 25px 20px;
  }
  
  .form-title h2 {
    font-size: 1.4rem;
  }
  
  .expiry-fields {
    flex-wrap: wrap;
  }
}

/* Card Number Formatting */
.card-number-input {
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
}

/* Focus States for Accessibility */
.form-input:focus-visible,
.submit-btn:focus-visible,
.radio-label:focus-within {
  outline: 3px solid #03a4ed;
  outline-offset: 2px;
}

/* Decorative Elements */
.decoration-circle {
  position: fixed;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(3, 164, 237, 0.1), rgba(254, 63, 64, 0.1));
  pointer-events: none;
  z-index: -1;
}

.decoration-circle.one {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.decoration-circle.two {
  width: 200px;
  height: 200px;
  bottom: 100px;
  left: -50px;
}

