/* Basic page structure for the Register page */
.register-section {
    background-color: #fff; /* or match your brand colors */
  }
  


  /* Form Column */
  .form-col {
    border-right: 1px solid #ccc; /* Vertical divider */
  }
  
  /* Contact Column */
  .contact-col {
    padding-left: 2rem;
  }
  
  /* Mobile-specific styles */
  @media (max-width: 768px) {
    .form-col {
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding-bottom: 2rem;
    }

    .contact-col {
        padding-left: 1rem;
        padding-top: 3rem;
        text-align: center;
    }
  }
  
  /* Headings & Paragraphs */
  .form-col h1 {
    font-size: 2rem;
    font-weight: 700;
  }
  .form-col p {
    font-size: 1rem;
    color: #555;
  }
  
  /* Labels */
  .form-label {
    font-weight: 600;
    color: #333;
  }
  
  /* Input fields */
  .form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  /* Button */
  .btn-success {
    background-color: #5b7c60; /* If you want a custom green, override here */
    border-color: #5b7c60;
    font-weight: 500;
    font-size: 1.3rem;
  }
  
  /* Right Column heading & text */
  .contact-col h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #065628; /* brand color or adjust */
  }
  .contact-col p {
    font-size: 1rem;
    color: #333;
  }


  /* 1) Ensure the phone input is full width */
#phone {
    width: 100% !important;
  }
  
  /* 2) Make the intl-tel-input dropdown narrower than the input */
  .iti__country-list {
    width: auto !important;     /* Let it auto-size or set a fixed width */
    min-width: 200px !important; /* Example minimum width; adjust as needed */
    max-width: 280px !important; /* Example maximum width; adjust as needed */
  }

  
  .custom-width {
    width: 100%; /* default on small screens */
  }
  
  @media (min-width: 768px) {
    .custom-width {
      width: 500px; /* fixed width on tablets+ */
    }
  }
  
  /* Phone input styling */
  .iti {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
  }

  .iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 1px;
  }

  .iti__selected-flag {
    padding: 0 6px 0 8px;
    border-radius: 3px 0 0 3px;
    background-color: #f8f9fa;
  }

  .iti__country-list {
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .iti__country {
    padding: 5px 10px;
  }

  .iti__country:hover {
    background-color: #f5f5f5;
  }

  .iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");
  }

  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
      background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");
    }
  }

  /* Ensure the phone input matches other form controls */
  .iti__tel-input {
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

  /* Style the selected flag dropdown */
  .iti__country-list {
    max-width: 300px;
    font-size: 14px;
  }

  .iti__country {
    padding: 8px 10px;
  }
  
  /* Enhanced Send Message Button */
  .send-message-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
  }

  .send-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #4a6a4f;
  }

  .send-message-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .send-message-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
  }

  .send-message-btn:hover::after {
    width: 200px;
    height: 200px;
  }
  
  
  