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

    body,
    html {
      font-family: 'Inter', sans-serif;
      background: #f8fafc;
    }

    .container-flex {
      display: flex;
      flex-direction: row;
      min-height: 100vh;
    }

    /* Left Section - Keep as requested */
      .left-section {
  flex: 1;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.left-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

    
 

    /* Enhanced Right Section */
    .right-section {
      flex: 1;
      background: #ffffff;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .registration-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .registration-title {
      font-size: 2rem;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 8px;
    }

    .registration-subtitle {
      font-size: 1rem;
      color: #6b7280;
      margin-bottom: 20px;
    }

    /* Enhanced Tab Buttons with disabled state */
    .tab-buttons {
      display: flex;
      margin-bottom: 30px;
      background: #f1f5f9;
      border-radius: 12px;
      padding: 4px;
      position: relative;
    }

    .tab-buttons button {
      flex: 1;
      padding: 12px 20px;
      font-size: 16px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      border-radius: 8px;
      transition: all 0.3s ease;
      background: transparent;
      color: #64748b;
      position: relative;
      z-index: 2;
    }

    .tab-buttons .active {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .tab-buttons button:not(.active):not(.disabled):hover {
      color: #475569;
      background: rgba(102, 126, 234, 0.1);
    }

    /* Disabled tab styling */
    .tab-buttons button.disabled {
      cursor: not-allowed;
      opacity: 0.5;
      color: #9ca3af;
      background: transparent;
    }

    .tab-buttons button.disabled:hover {
      background: transparent;
      color: #9ca3af;
    }

    /* Form Styling */
    .form-container {
      position: relative;
      min-height: 400px;
    }

    form {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      position: absolute;
      width: 100%;
      transition: all 0.3s ease;
    }

    #business {
      visibility: hidden;
      opacity: 0;
      transform: translateX(20px);
    }

    #owner {
      visibility: visible;
      opacity: 1;
      transform: translateX(0);
    }

    .form-group {
      flex: 1 1 calc(50% - 10px);
      display: flex;
      flex-direction: column;
      margin-bottom: 5px;
    }

    .form-group.full-width {
      flex: 1 1 100%;
    }

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

    .input-wrapper {
      position: relative;
    }

    .form-group input {
      padding: 12px 16px;
      border: 2px solid #e5e7eb;
      border-radius: 8px;
      font-size: 14px;
      transition: all 0.3s ease;
      background: #f9fafb;
      width: 100%;
    }

    .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[type="file"] {
      padding: 8px 12px;
      background: white;
    }

    /* Error Styling */
    .js-error {
      font-size: 12px;
      margin-top: 4px;
      min-height: 16px;
    }

    .error-message {
      color: #dc2626;
      font-size: 12px;
      margin-top: 4px;
    }

    /* Enhanced Login Link and Button Container */
    .login-and-submit-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin: 20px 0;
      padding: 15px;
      background: #f8fafc;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
    }

    .login-link {
      flex: 1;
      text-align: left;
      margin: 0;
      padding: 0;
      background: transparent;
      border: none;
    }

    .login-link p {
      margin: 0;
      color: #64748b;
      font-size: 14px;
    }

    .login-link a {
      color: #667eea;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }

    .login-link a:hover {
      color: #764ba2;
      text-decoration: underline;
    }

    /* Enhanced Submit Button in Container */
    .submit-button-container {
      flex-shrink: 0;
    }

    .submit-button-container .save-btn {
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 180px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .submit-button-container .save-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

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

    /* Enhanced Action Buttons for Business Form */
    .action-buttons {
      margin-top: 30px;
      display: flex;
      justify-content: center;
      gap: 15px;
    }

    .action-buttons button {
      padding: 14px 32px;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 200px;
      position: relative;
      overflow: hidden;
    }

   .save-btn {
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 180px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .save-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

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

    /* Success Alert */
    .alert {
      margin: 20px 0;
      padding: 12px 16px;
      border-radius: 8px;
      font-size: 14px;
      border: none;
    }

   

    /* Loading Animation */
    .loading {
      display: none;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .spinner {
      width: 20px;
      height: 20px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Form Animations */
    .form-slide-in {
      animation: slideIn 0.3s ease-out forwards;
    }

    .form-slide-out {
      animation: slideOut 0.3s ease-out forwards;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateX(20px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes slideOut {
      from {
        opacity: 1;
        transform: translateX(0);
      }
      to {
        opacity: 0;
        transform: translateX(-20px);
      }
    }

    /* Responsive Design */
    @media (min-width: 850px) and (max-width: 1000px) {
      .right-section {
        padding: 30px;
      }
      
      .action-buttons {
        justify-content: center;
      }
    }

    @media (min-width: 1000px) and (max-width: 1250px) {
      .action-buttons {
        justify-content: center;
      }
    }

    @media (max-width: 849px) {
      .container-flex {
        flex-direction: column;
      }

      .left-section {
        min-height: 40vh;
      }

      .left-section img {
        height: 40vh;
      }

      .right-section {
        padding: 20px;
        min-height: 60vh;
      }

      .form-group {
        flex: 1 1 100%;
      }

      .login-and-submit-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
      }

      .submit-button-container .save-btn {
        width: 100%;
        max-width: 300px;
      }

      .action-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
      }

      .action-buttons button {
        width: 100%;
        max-width: 300px;
      }

      .registration-title {
        font-size: 1.6rem;
      }
    }

    @media (max-width: 480px) {
      .right-section {
        padding: 15px;
      }

      .tab-buttons {
        flex-direction: column;
        gap: 4px;
      }

      .tab-buttons button {
        width: 100%;
      }

      .registration-title {
        font-size: 1.4rem;
      }

      .login-and-submit-container {
        padding: 12px;
      }
    }