  .company-creation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 5rem;
  }
  
  .company-form-wrapper {
    width: 95%;
    background-color: var(--themewhite);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
  }
  
  /* Tax Information section hidden per client request; remove this rule to show again */
  .tax-information-section {
    display: none;
  }
  
  /* Match General Configuration section heading: blue text + line after */
  .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c84c6;
    margin: 0 0 0.85rem 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .section-title::after {
    content: '';
    flex: 1;
    min-width: 0;
    height: 1px;
    background: #e5e7eb;
  }
  
  .form-row {
    display: flex;
    margin-bottom: 1px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .form-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: 15px;
    position: relative;
  }
  
  .form-group:last-child {
    margin-right: 0;
  }

  /* Single-column rows: keep first column same width as Country/City column in two-column rows */
  .form-row.form-row-single .form-group {
    flex: 0 0 calc(50% - 4px);
    max-width: calc(50% - 4px);
  }

  .form-group.full-width {
    flex-basis: 100%;
    position: relative;
  }
  
  label {
    display: block;
    font-size: 0.9rem;
    color: var(--textcolor);
    margin-bottom: 5px;
    font-weight: 500;
  }
  
  .required {
    color: #e53935;
  }
  
  /* Match Product Master: height 32px, border-radius 6px for inputs/selects */
  .form-control {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #1f2a44;
    background-color: #f9fafb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
  }
  
  .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  input.form-control,
  select.form-control {
    height: 34px;
    padding: 8px;
  }
  
  select.form-control {
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
  }
  
  /* Address field: keep tall height, same border-radius as Product Master */
  textarea.form-control {
    resize: none;
    min-height: 80px;
    padding: 8px;
  }
  
  .edit-icon {
    position: absolute;
    top: 40px;
    right: 10px;
    color: #999;
    cursor: pointer;
  }
  
  .logo-upload {
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 8px;
  }
  
  .logo-placeholder {
    width: 80px;
    height: 80px;
    border: 1px dashed #bbb;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 8px;
  }
  
  .logo-placeholder i {
    font-size: 1.5rem;
    color: #bbb;
  }
  
  .logo-text {
    font-size: 0.8rem;
    color: #666;
  }
  
  .company-details {
    flex: 1;
    min-width: 0;
  }
  
  /* Name + Short Name start at logo edge; Name expands; No of Users to the right of Name */
  .company-details > .form-row:first-of-type {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .company-details > .form-row:first-of-type .form-group:first-child {
    flex: 1;
    min-width: 0;
  }
  .company-details > .form-row:first-of-type .form-group:last-child {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
    margin-bottom: 15px;
  }
  .company-details > .form-row:nth-of-type(2) .form-group {
    flex: 1;
    min-width: 0;
  }
  
  .dropdown-with-flag {
    position: relative;
    width: 100%;
  }
  
  .dropdown-with-flag .form-control {
    width: 100%;
    box-sizing: border-box;
  }
  
  .dropdown-with-flag:after {
    content: "🇮🇳";
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  /* State field: match Country input width by overlaying code prefix so input can be full width */
  .state-with-code {
    position: relative;
    width: 100%;
  }
  .state-with-code .state-code-prefix {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #1f2a44;
    pointer-events: none;
    z-index: 1;
  }
  .state-with-code .form-control {
    width: 100%;
    box-sizing: border-box;
  }

  .date-input {
    position: relative;
  }
  
  .calendar-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
  }
  
  .action-buttons {
    display: flex;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    width: 100%;
  }

  .action-buttons-spacer {
    flex: 1;
  }

  /* Left spacer larger so Update button aligns under "To" field; right spacer keeps link at far right */
  .action-buttons-spacer-left {
    flex: 1.5;
  }

  .action-buttons-spacer-right {
    flex: 1;
  }

  .company-master-gc-link {
    color: var(--themeblue, #23a6d8);
    text-decoration: none;
    font-size: 0.95rem;
  }

  .company-master-gc-link:hover {
    text-decoration: underline;
    color: #1e88e5;
  }

  button.btn-primary {
    padding: 10px 25px;
    background-color: var(--themeblue);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  button.btn-primary:hover {
    background-color: #1e88e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Modal styling */
  .modal-header {
    background-color: var(--themeblue);
    color: white;
    border-radius: 5px 5px 0 0;
  }
  
  .modal-header .modal-title {
    color: white;
  }
  
  .modal-header .close {
    color: white;
    opacity: 0.8;
  }
  
  .table thead th {
    background-color: var(--themeblue);
    color: white;
    font-weight: 500;
  }
  
  .table tbody tr:nth-child(odd) {
    background-color: white;
  }
  
  .table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
  }
  
  .table tbody tr:hover {
    background-color: #e3f2fd;
    cursor: pointer;
  }

  .logo-upload {
    display: inline-block;
    text-align: center;
    cursor: pointer;
  }
  
  .logo-placeholder {
    width: 120px;
    height: 120px;
    border: 2px dashed #aaa;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fdfdfd;
    font-size: 32px;
    color: #888;
    position: relative;
    overflow: hidden;
  }
  
  .logo-placeholder:hover {
    border-color: #666;
    background-color: #f3f3f3;
  }
  
  .logo-placeholder input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }
  
  .logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .logo-text {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
  }
  
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .form-group {
      flex-basis: 100%;
      margin-right: 0;
    }
    
    .logo-upload {
      max-width: 100%;
      margin-bottom: 20px;
      flex-direction: row;
      align-items: center;
    }
    
    .logo-placeholder {
      margin-bottom: 0;
      margin-right: 15px;
    }
  }