/*
 Theme Name:     KashInvest
 Theme URI:      https://example.com/kashinvest
 Description:    A child theme for the Hello Elementor theme, customized for KashInvest
 Author:         Your Name
 Author URI:     https://example.com
 Template:       hello-elementor
 Version:        1.0.0
 Text Domain:    kashinvest
*/

/* Import parent theme's stylesheet */
@import url("../hello-elementor/style.css");

/* Add your custom styles below */

/* styles.css */

/*
.formBody {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


.content-div {
  flex: 1;
  padding: 20px;
  text-align: center;
}

body .wpcf7-form .sticky-form {
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: #f9f9f9;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  border-top: 1px solid #ddd;
}

.wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

body .wpcf7-form .sticky-form input, 
body .wpcf7-form .sticky-form select, 
body .wpcf7-form .sticky-form button {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

body .wpcf7-form .sticky-form input[type="text"], 
body .wpcf7-form .sticky-form input[type="email"], 
body .wpcf7-form .sticky-form input[type="tel"] {
  flex: 1;
  min-width: 150px;
}

body .wpcf7-form .sticky-form .mobile-input {
  display: flex;
  flex: 1;
  gap: 5px;
  min-width: 200px;
}

body .wpcf7-form .sticky-form .mobile-input select, 
body .wpcf7-form .sticky-form .mobile-input input {
  flex: 1;
}

body .wpcf7-form .sticky-form select {
  flex: 1;
  min-width: 150px;
}

body .wpcf7-form .sticky-form button {
  background-color: #ffeb3b;
  border: none;
  cursor: pointer;
  color: #000;
  font-weight: bold;
  padding: 10px 20px;
  min-width: 150px;
  text-align: center;
}

body .wpcf7-form .sticky-form button:hover {
  background-color: #ffd600;
}

body .wpcf7-form .sticky-form .disclaimer {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
  text-align: center;
}
*/

/* Desktop Form Container */
.desktop-form-container {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ensure all form elements align in a single row */
.desktop-form-container .wpcf7-form p {
  margin: 0;
  flex: 1;
}

.desktop-form-container input[type="text"],
.desktop-form-container input[type="email"],
.desktop-form-container input[type="tel"],
.desktop-form-container select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.desktop-form-container input[type="submit"] {
  background: #ffeb3b;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0; /* Prevent button from shrinking */
}

.desktop-form-container input[type="submit"]:hover {
  background: #ffd600;
}

/* Set proper widths for individual fields */
.desktop-form-container .wpcf7-form-control {
  flex: 1;
  margin-right: 10px;
}

.desktop-form-container .wpcf7-form-control:last-child {
  margin-right: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .desktop-form-container {
    flex-direction: column;
    align-items: stretch;
  }

  .desktop-form-container .wpcf7-form-control {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .desktop-form-container input[type="submit"] {
    width: 100%;
  }
}
