* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f2f6fa;
  min-height: 100vh;
}

/* Back Button */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #3b7dd8;
  background: #fff;
  border: 1px solid #d2dce6;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  z-index: 100;
}

.back-btn:hover {
  background: #3b7dd8;
  color: #fff;
  border-color: #3b7dd8;
}

/* Main Shell */
.signup-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
}

/* Role Selection */
.role-selection {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.signup-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: #2f3e4d;
}

.signup-subtitle {
  margin: 0 0 40px;
  font-size: 16px;
  color: #6b7a8a;
}

.role-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.role-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 600;
  color: #2f3e4d;
  background: #fff;
  border: 2px solid #d2dce6;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
}

.role-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.role-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.role-btn.bride-groom:hover:not(:disabled) {
  border-color: #e91e63;
  background: linear-gradient(135deg, #fce4ec 0%, #fff 100%);
}

.role-btn.designer:hover:not(:disabled) {
  border-color: #9c27b0;
  background: linear-gradient(135deg, #f3e5f5 0%, #fff 100%);
}

.role-btn.florist:hover:not(:disabled) {
  border-color: #4caf50;
  background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%);
}

.role-icon {
  font-size: 36px;
  line-height: 1;
}

.role-label {
  flex: 1;
  text-align: left;
}

.coming-soon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #9e9e9e;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Signup Form Card */
.signup-card {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  padding: 32px;
  border: 1px solid #d2dce6;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.signup-card .signup-title {
  font-size: 22px;
  margin-bottom: 8px;
  text-align: center;
}

.signup-card label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #2f3e4d;
  gap: 6px;
  font-weight: 500;
}

.signup-card input,
.signup-card select {
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #b8c4d3;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
}

.signup-card input:focus,
.signup-card select:focus {
  outline: none;
  border-color: #3b7dd8;
  box-shadow: 0 0 0 3px rgba(59, 125, 216, 0.15);
}

/* Phone Input Group */
.phone-input-group {
  display: flex;
  gap: 8px;
}

.phone-prefix {
  width: 120px;
  flex-shrink: 0;
}

.phone-input-group input {
  flex: 1;
}

/* Agreement Row */
.agreement-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.agreement-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #3b7dd8;
}

.agreement-label {
  font-size: 13px;
  color: #5a6a7a;
  font-weight: 400;
  cursor: pointer;
  flex-direction: row !important;
}

.agreement-link {
  color: #3b7dd8;
  text-decoration: none;
  font-weight: 500;
}

.agreement-link:hover {
  text-decoration: underline;
}

/* Submit Button */
.signup-card button[type="submit"] {
  margin-top: 8px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b7dd8 0%, #2563b0 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(59, 125, 216, 0.3);
}

.signup-card button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 125, 216, 0.4);
}

.signup-card button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Error Message */
.signup-error {
  margin: 0;
  font-size: 13px;
  color: #b0493b;
  background: #fcecea;
  padding: 10px 12px;
  border-radius: 8px;
}

/* Utility */
.is-hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
  .signup-card {
    width: 100%;
    padding: 24px 20px;
  }
  
  .role-btn {
    padding: 20px 24px;
  }
  
  .phone-prefix {
    width: 100px;
  }
}
