/**
 * Lasertack Quote Request Form Styles
 */

/* Quote Button */
.lt-quote-button-container {
    margin: 20px 0;
}

.lt-quote-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0486FF;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10; /* Ensure the button stays clickable */
}

.lt-quote-button:hover {
    background-color: #0365c0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.lt-quote-button:active {
    background-color: #0253a4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

/* SweetAlert customization */
.swal2-popup {
    border-radius: 10px !important;
    padding: 2.5em !important;
    font-family: inherit !important;
}

.swal2-title {
    color: #333333 !important;
    font-size: 1.5em !important;
    font-weight: 600 !important;
}

.swal2-html-container {
    color: #555555 !important;
}

.swal2-confirm {
    background-color: #0486FF !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
    background-color: #A3D3FF !important;
    box-shadow: 0 5px 15px rgba(4, 134, 255, 0.2) !important;
    transform: translateY(-3px) !important;
}

.swal2-cancel {
    background-color: #f7f7f7 !important;
    color: #555555 !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
    background-color: #eeeeee !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-3px) !important;
}

/* Quote Form Styles */
.lt-quote-form {
    margin: 20px 0;
    font-family: inherit;
}

/* Quote Form Steps */
.lt-quote-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.lt-quote-step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f2f2f2;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    border: 2px solid #f2f2f2;
}

.lt-quote-step.active {
    background-color: #0486FF;
    color: #fff;
    border-color: #0486FF;
}

.lt-quote-step.completed {
    background-color: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

.lt-quote-step.completed::after,
.lt-quote-step.active::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #ddd;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
}

.lt-quote-step.completed::after {
    background-color: #4CAF50;
}

.lt-quote-step.active::after {
    background-color: #0486FF;
}

.lt-quote-step:last-child::after {
    display: none;
}

/* Product Summary */
.lt-quote-product-summary {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.lt-quote-product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.lt-quote-product-sku {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.lt-quote-config-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    margin-top: 5px;
}

.lt-quote-config-table tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.lt-quote-config-table tr:first-child td:first-child {
    border-top-left-radius: 8px;
}

.lt-quote-config-table tr:first-child td:last-child {
    border-top-right-radius: 8px;
}

.lt-quote-config-table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.lt-quote-config-table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.lt-quote-config-table td {
    padding: 8px 12px;
    line-height: 1.4;
}

.lt-quote-config-table td:first-child {
    font-weight: 500;
    width: 40%;
    color: #555;
}

.lt-quote-config-table td:last-child {
    color: #333;
}

/* Form Fields */
.lt-quote-form .form-group {
    margin-bottom: 20px;
}

.lt-quote-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.lt-quote-form label .required {
    color: #e74c3c;
}

.lt-quote-form input[type="text"],
.lt-quote-form input[type="email"],
.lt-quote-form input[type="tel"],
.lt-quote-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.lt-quote-form input[type="text"]:focus,
.lt-quote-form input[type="email"]:focus,
.lt-quote-form input[type="tel"]:focus,
.lt-quote-form textarea:focus {
    border-color: #0486FF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 134, 255, 0.1);
}

.lt-quote-form .lt-quote-field-hint {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Captcha container */
.lt-quote-captcha-container {
    margin-top: 20px;
}

/* Loading spinner */
.swal2-loader {
    border-color: #0486FF transparent #0486FF transparent !important;
}

/* SweetAlert Customizations */
.lt-quote-swal-container {
    z-index: 999999; /* Ensure it's above other elements */
}

.lt-quote-swal-popup {
    width: 90% !important;
    max-width: 750px !important;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lt-quote-swal-title {
    color: #0486FF;
    font-size: 24px;
}

.lt-quote-swal-html-container {
    overflow-y: auto;
    max-height: 70vh;
}

.lt-quote-swal-confirm-button {
    background-color: #0486FF !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    padding: 10px 25px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.lt-quote-swal-confirm-button:hover {
    background-color: #0365c0 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-1px) !important;
}

.lt-quote-swal-cancel-button {
    background-color: #f5f5f5 !important;
    color: #666 !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    padding: 10px 25px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.lt-quote-swal-cancel-button:hover {
    background-color: #e6e6e6 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* Animation enhancements */
.swal2-popup.swal2-toast {
    transition: all 0.3s ease !important;
}

/* Ensure smooth transitions between steps */
.swal2-popup {
    transition: opacity 0.25s, transform 0.25s !important;
}

.swal2-backdrop-show {
    transition: background-color 0.2s !important;
}

/* Add this to ensure we don't get double animations */
.animate__animated {
    --animate-duration: 0.3s;
}

/**
 * Quote Form Styles
 */

/* SweetAlert2 Custom Styling */
.lt-quote-swal-container {
  z-index: 9999;
}

.lt-quote-swal-popup {
  width: 90% !important;
  max-width: 750px !important;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lt-quote-swal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 1rem;
}

.lt-quote-swal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.lt-quote-swal-html-container {
  padding: 20px 25px;
  max-height: 70vh;
  overflow-y: auto;
}

.lt-quote-swal-actions {
  border-top: 1px solid #f0f0f0;
  padding: 15px;
}

.lt-quote-swal-confirm-button {
  background-color: #0486FF !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  font-size: 16px !important;
}

.lt-quote-swal-cancel-button {
  border: 1px solid #ccc !important;
  color: #666 !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  font-size: 16px !important;
}

/* Multi-step Indicator */
.lt-quote-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.lt-quote-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 10px;
  position: relative;
}

.lt-quote-step::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 20px;
  background-color: #f0f0f0;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.lt-quote-step:last-child::after {
  display: none;
}

.lt-quote-step.active {
  background-color: #0486FF;
  color: white;
}

.lt-quote-step.completed {
  background-color: #4CAF50;
  color: white;
}

.lt-quote-step.completed::after {
  background-color: #4CAF50;
}

/* Product Summary */
.lt-quote-product-summary {
  width: 100%;
  margin-bottom: 20px;
}

.lt-quote-product-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.lt-quote-product-sku {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  text-align: center;
}

.lt-quote-config-table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 15px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lt-quote-config-table th,
.lt-quote-config-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.lt-quote-config-table th {
  text-align: left;
  font-weight: 600;
  background-color: #f9f9f9;
  color: #333;
}

.lt-quote-config-table th:last-child {
  text-align: right;
}

.lt-quote-config-table td:first-child {
  width: 40%;
  font-weight: 500;
  color: #333;
}

.lt-quote-config-table td:nth-child(2) {
  width: 40%;
  color: #444;
}

.lt-quote-config-table td:last-child {
  width: 20%;
  color: #0486FF;
  font-weight: 500;
  text-align: right;
}

/* Form Styling */
.lt-quote-form {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-group label .required {
  color: #e74c3c;
  margin-left: 3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0486FF;
  outline: none;
  box-shadow: 0 0 0 2px rgba(4, 134, 255, 0.1);
}

.lt-quote-field-hint {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: #888;
}

/* Captcha Container */
.lt-quote-captcha-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .lt-quote-swal-popup {
    width: 95% !important;
    max-width: none !important;
  }
  
  .lt-quote-config-table td,
  .lt-quote-config-table th {
    padding: 10px;
  }
}

/* Quote Button Styling */
.lt-quote-button {
  background-color: #0486FF;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.lt-quote-button:hover {
  background-color: #0367c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lt-quote-button:active {
  transform: translateY(0);
} 