/*
Theme Name: USMPOR Moving Service
Theme URI: https://example.com/usmpor-theme
Author: USMPOR
Description: A custom theme for the USMPOR moving service middleman platform
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usmpor
*/

/* USMPO-Inspired Theme Colors & Typography */
:root {
  /* Primary Colors */
  --usmpo-navy: #1A4B7C;      /* Deep navy blue for headers and backgrounds */
  --usmpo-dark-navy: #153b64; /* Darker shade for hover states */
  --usmpo-orange: #F78C1F;    /* Bright orange for CTAs and highlights */
  --usmpo-orange-dark: #e07b15; /* Darker orange for hover states */
  --usmpo-light-blue: #e4f1f9; /* Light blue for secondary backgrounds */
  --usmpo-text: #333333;      /* Main text color */
  --usmpo-light-text: #666666; /* Secondary text color */
  --usmpo-light-gray: #f5f7fa; /* Light gray for backgrounds */
  --usmpo-border: #d1d5db;    /* Border color */
  
  /* Additional Brand Colors */
  --usmpo-secondary-blue: #4A7AAC; /* Secondary blue for accents */
  --usmpo-tertiary-blue: #E4F1FA;  /* Very light blue for backgrounds */
  --usmpo-success: #34D399;      /* Success/confirmation color */
  --usmpo-warning: #F59E0B;      /* Warning/alert color */
  --usmpo-danger: #EF4444;       /* Error/danger color */
}

/* Global Typography */
body {
  font-family: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--usmpo-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--usmpo-navy);
  line-height: 1.3;
  position: relative;
}

/* Enhanced Branded Headers */
h1::after, h2::after, 
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--usmpo-orange);
  margin-top: 0.5rem;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

/* Button Styles */
.bg-blue-600 {
  background-color: var(--usmpo-navy) !important;
}

.bg-blue-700, .hover\:bg-blue-700:hover, .bg-blue-600:hover {
  background-color: var(--usmpo-dark-navy) !important;
}

.text-blue-600 {
  color: var(--usmpo-navy) !important;
}

.hover\:text-blue-600:hover {
  color: var(--usmpo-navy) !important;
}

.bg-blue-500 {
  background-color: var(--usmpo-navy) !important;
}

.bg-gradient-to-r.from-blue-600.to-blue-500 {
  background: var(--usmpo-navy) !important;
}

/* Enhanced Button Styles */
.usmpo-btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.usmpo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: all 0.4s ease;
  z-index: 1;
}

.usmpo-btn:hover::before {
  left: 100%;
}

.usmpo-btn-primary {
  background-color: var(--usmpo-navy);
  color: white;
  box-shadow: 0 2px 4px rgba(26, 75, 124, 0.3);
}

.usmpo-btn-primary:hover {
  background-color: var(--usmpo-dark-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(26, 75, 124, 0.4);
}

.usmpo-btn-secondary {
  background-color: var(--usmpo-orange);
  color: white;
  box-shadow: 0 2px 4px rgba(247, 140, 31, 0.3);
}

.usmpo-btn-secondary:hover {
  background-color: var(--usmpo-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(247, 140, 31, 0.4);
}

.usmpo-btn-outline {
  background-color: transparent;
  color: var(--usmpo-navy);
  border: 2px solid var(--usmpo-navy);
}

.usmpo-btn-outline:hover {
  background-color: var(--usmpo-navy);
  color: white;
}

/* Orange CTA Buttons */
a[href="#quote-form"], button[type="submit"] {
  background-color: var(--usmpo-orange) !important;
  color: white !important;
  font-weight: 600 !important;
  transition: background-color 0.3s ease !important;
}

a[href="#quote-form"]:hover, button[type="submit"]:hover {
  background-color: var(--usmpo-orange-dark) !important;
}

/* Header Styles */
header {
  border-bottom: 1px solid var(--usmpo-border);
}

header .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Enhanced Content Cards */
.usmpo-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-top: 4px solid var(--usmpo-navy);
}

.usmpo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.usmpo-card-premium {
  border-top: 4px solid var(--usmpo-orange);
}

/* Card Styles */
.shadow-lg, .shadow-md, .shadow-sm {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.rounded-lg {
  border-radius: 0.375rem !important;
}

/* Enhanced Form Elements */
input, select, textarea {
  border: 1px solid var(--usmpo-border) !important;
  border-radius: 0.375rem !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--usmpo-navy) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(26, 75, 124, 0.2) !important;
}

.form-checkbox {
  border-radius: 0.25rem;
  border: 2px solid var(--usmpo-navy);
  width: 1.25rem;
  height: 1.25rem;
}

.form-checkbox:checked {
  background-color: var(--usmpo-navy);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Form label styling */
.form-label {
  font-weight: 600;
  color: var(--usmpo-navy);
  margin-bottom: 0.5rem;
  display: block;
}

/* Branded Badge Styles */
.usmpo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.usmpo-badge-blue {
  background-color: var(--usmpo-tertiary-blue);
  color: var(--usmpo-navy);
}

.usmpo-badge-orange {
  background-color: rgba(247, 140, 31, 0.15);
  color: var(--usmpo-orange-dark);
}

.usmpo-badge-green {
  background-color: rgba(52, 211, 153, 0.15);
  color: #059669;
}

/* Branded Decorative Elements */
.usmpo-shape-1 {
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: var(--usmpo-tertiary-blue);
  border-radius: 24% 76% 35% 65% / 27% 36% 64% 73%;
  z-index: -1;
  opacity: 0.5;
}

.usmpo-shape-2 {
  position: absolute;
  width: 120px;
  height: 120px;
  background-color: rgba(247, 140, 31, 0.15);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: -1;
  opacity: 0.5;
}

/* Branded Divider */
.usmpo-divider {
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, var(--usmpo-navy), var(--usmpo-secondary-blue), var(--usmpo-tertiary-blue));
  margin: 2rem 0;
  border-radius: 2px;
}

/* Map Container Styles */
#visual-map-container .bg-gradient-to-r {
  background: var(--usmpo-navy) !important;
}

#view-companies-btn {
  background-color: var(--usmpo-orange) !important;
  transition: background-color 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(247, 140, 31, 0.3) !important;
}

#view-companies-btn:hover {
  background-color: var(--usmpo-orange-dark) !important;
  box-shadow: 0 4px 6px rgba(247, 140, 31, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* Branded info box */
.usmpo-info-box {
  position: relative;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--usmpo-tertiary-blue);
  border-left: 4px solid var(--usmpo-navy);
}

.usmpo-info-box::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: -12px;
  width: 20px;
  height: 20px;
  background-color: var(--usmpo-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.usmpo-info-box.info::before {
  content: 'i';
}

.usmpo-info-box.tip::before {
  content: '!';
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    /* Map container optimizations */
    #visual-map-container {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0 !important;
    }
    
    #visual-map {
        height: 250px !important;
    }
    
    /* Floating company list for mobile */
    #floating-company-list {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        box-shadow: 0 -4px 10px -1px rgba(26, 75, 124, 0.15);
        z-index: 1000;
        max-height: 70vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
        border-top: 4px solid var(--usmpo-navy);
    }
    
    #floating-company-list.active {
        transform: translateY(0);
    }
    
    #floating-company-list .handle {
        width: 50px;
        height: 5px;
        background: var(--usmpo-navy);
        opacity: 0.3;
        border-radius: 3px;
        margin: 10px auto;
    }
    
    #floating-company-list h3::after {
        margin-top: 6px;
        width: 40px;
    }
    
    /* Make info windows more compact on mobile */
    .gm-style .gm-style-iw-c {
        padding: 6px !important;
        max-width: 200px !important;
        box-shadow: 0 2px 7px 1px rgba(0,0,0,0.2) !important;
    }
    
    .gm-style .gm-style-iw-d {
        max-width: 180px !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* Prevent info window scrollbar */
    .gm-style-iw-d::-webkit-scrollbar {
        display: none !important;
    }
    
    /* Make info window close button more visible */
    .gm-style .gm-style-iw-t::after {
        display: none !important;
    }
    
    .gm-style .gm-style-iw .gm-ui-hover-effect {
        top: 0 !important;
        right: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Simplify UI elements on mobile */
    #sidebar-visual-map {
        height: 220px !important;
    }
    
    /* Make buttons easier to tap on mobile */
    .recenter-map {
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    /* Optimize company cards layout on mobile */
    #all-matches-container > div,
    #top-matches-container > div {
        padding: 8px !important;
    }
}

/* Step Form Styling with USMPO Branding */
#progress-bar {
    height: 2px;
    transition: width 0.3s ease-in-out;
}

.step-bullet {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #1A4B7C;
    position: relative;
    margin-right: 8px;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(26, 75, 124, 0.3);
}

.step-bullet::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
}

/* Form option stylings */
.form-step label.bg-white:has(input[type="radio"]:checked) {
    background-color: #f9fafb !important;
    border-color: #1A4B7C !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Current step animation */
.form-step {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step indicator styling */
#step-indicator {
    position: relative;
    padding-left: 18px;
}

#step-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #1A4B7C;
    border-radius: 50%;
}

/* Step header styling */
.step-header {
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.step-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #1A4B7C;
}

.step-header::before {
    content: '';
    position: absolute;
    left: 45px;
    bottom: 0;
    width: 20px;
    height: 3px;
    background-color: rgba(26, 75, 124, 0.3);
}

/* Address Autocomplete Suggestions */
.address-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
}

.address-suggestion:last-child {
    border-bottom: none;
}

.address-suggestion:hover {
    background-color: var(--usmpo-tertiary-blue);
    color: var(--usmpo-navy);
}

.address-suggestion.selected {
    background-color: var(--usmpo-navy);
    color: white;
}

.suggestion-icon {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--usmpo-navy);
}

.address-suggestion:hover .suggestion-icon,
.address-suggestion.selected .suggestion-icon {
    color: currentColor;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-main {
    font-weight: 600;
    color: var(--usmpo-text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-suggestion:hover .suggestion-main,
.address-suggestion.selected .suggestion-main {
    color: currentColor;
}

.suggestion-secondary {
    font-size: 0.875rem;
    color: var(--usmpo-light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-suggestion:hover .suggestion-secondary,
.address-suggestion.selected .suggestion-secondary {
    color: currentColor;
    opacity: 0.8;
}

/* Loading state for suggestions */
.suggestions-loading {
    padding: 16px;
    text-align: center;
    color: var(--usmpo-light-text);
    font-size: 0.875rem;
}

.suggestions-loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--usmpo-border);
    border-top: 2px solid var(--usmpo-navy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No results state */
.suggestions-no-results {
    padding: 16px;
    text-align: center;
    color: var(--usmpo-light-text);
    font-size: 0.875rem;
}

/* Distance display styling */
#distance-display {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Route Map Section Styles */
#route-map-section {
    animation: fadeInUp 0.4s ease-out;
}

#route-map-container {
    transition: height 0.3s ease-in-out;
}

#route-map-container.expanded {
    height: 300px !important;
}

#toggle-map {
    transition: transform 0.3s ease;
}

#toggle-map.expanded {
    transform: rotate(180deg);
}

/* Map Controls Styling */
#route-map-container .absolute button {
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.2s ease;
}

#route-map-container .absolute button:hover {
    background-color: rgba(249, 250, 251, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Route Info Panel Styling */
#route-map-container .absolute.bottom-4 {
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(209, 213, 219, 0.8);
}

/* Route Summary Styling */
#route-summary {
    animation: fadeIn 0.3s ease-in-out;
}

#route-from-text, #route-to-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Map Fullscreen Modal */
.route-map-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.route-map-fullscreen-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 800px;
    position: relative;
    overflow: hidden;
}

.route-map-fullscreen-header {
    background-color: var(--usmpo-navy);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: between;
    align-items: center;
}

.route-map-fullscreen-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.route-map-fullscreen-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    #route-map-container.expanded {
        height: 500px !important;
    }
    
    #route-map-section {
        margin-top: 1.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    #route-map-section .bg-white {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    #route-summary {
        padding: 0.75rem 1rem;
    }
    
    #route-summary .flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #route-summary .space-x-4 {
        gap: 0;
    }
    
    #route-from-text, #route-to-text {
        max-width: 280px;
        font-size: 0.875rem;
    }
    
    #route-map-container .absolute.top-4.right-4 {
        top: 12px;
        right: 12px;
    }
    
    #route-map-container .absolute button {
        padding: 12px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #route-map-container .absolute button svg {
        width: 20px;
        height: 20px;
    }
    
    #route-map-container .absolute.bottom-4.left-4 {
        bottom: 12px;
        left: 12px;
        right: 12px;
        max-width: none;
        font-size: 0.875rem;
    }
    
    #route-map-container .absolute.bottom-4.left-4 .text-sm {
        font-size: 0.875rem;
    }
    
    #route-map-container .absolute.bottom-4.left-4 .font-semibold {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    #toggle-map {
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #toggle-map svg {
        width: 24px;
        height: 24px;
    }
    
    #route-map-section .bg-gray-50 {
        padding: 1rem;
    }
    
    #route-map-section h3 {
        font-size: 1.125rem;
    }
    
    .route-map-fullscreen-modal {
        padding: 0;
    }
    
    .route-map-fullscreen-content {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        height: 100vh;
        width: 100vw;
    }
    
    .route-map-fullscreen-header {
        padding: 1rem 1.25rem;
        font-size: 1.125rem;
    }
    
    #route-map {
        min-height: 400px;
    }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 480px) {
    #route-map-container.expanded {
        height: 450px !important;
    }
    
    #route-from-text, #route-to-text {
        max-width: 240px;
        font-size: 0.8125rem;
    }
    
    #route-map-container .absolute.bottom-4.left-4 {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 0.75rem;
    }
    
    #route-map-container .absolute.top-4.right-4 {
        top: 8px;
        right: 8px;
    }
    
    #route-map-container .absolute button {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    #route-map-container .absolute button svg {
        width: 18px;
        height: 18px;
    }
}

/* Tabbed Quote Interface Styles */
#quotes-container {
  max-width: 72rem;
  margin: 0 auto;
}

/* Enhanced section header styling */
.section-header-enhanced {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.section-header-enhanced::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--usmpo-orange) 0%, var(--usmpo-navy) 100%);
  border-radius: 2px;
}

/* Trust indicators */
.trust-indicator-enhanced {
  display: inline-flex;
  align-items: center;
  space-x: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(26, 75, 124, 0.05) 0%, rgba(247, 140, 31, 0.05) 100%);
  border: 1px solid rgba(26, 75, 124, 0.1);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--usmpo-navy);
  transition: all 0.3s ease;
}

.trust-indicator-enhanced:hover {
  background: linear-gradient(135deg, rgba(26, 75, 124, 0.1) 0%, rgba(247, 140, 31, 0.1) 100%);
  border-color: rgba(26, 75, 124, 0.2);
  transform: translateY(-1px);
}

/* =================================================================
   STICKY CTA CSS FALLBACKS
   ================================================================= */

/* Base sticky CTA styling - ensures it works even if Tailwind fails */
[id^="sticky-cta-"] {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  transform: translateY(100%) !important;
  transition: transform 0.3s ease-in-out !important;
  display: none !important;
}

/* Inner container styling */
[id^="sticky-cta-"] > div {
  background-color: white !important;
  border-top: 1px solid #e5e7eb !important;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  padding: 12px 16px !important;
}

/* Content wrapper */
[id^="sticky-cta-"] > div > div {
  max-width: 72rem !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* Company info section */
[id^="sticky-cta-"] .flex.items-center:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Company logo/initial */
[id^="sticky-cta-"] .w-8.h-8,
[id^="sticky-cta-"] [style*="width: 40px"] {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #1A4B7C !important;
  color: white !important;
  font-weight: bold !important;
  font-size: 14px !important;
}

/* Company name styling */
[id^="sticky-cta-"] .font-bold {
  font-weight: bold !important;
  color: #1A4B7C !important;
  font-size: 14px !important;
}

/* Move type text */
[id^="sticky-cta-"] .text-xs {
  font-size: 12px !important;
  color: #6b7280 !important;
}

/* CTA Button styling */
[id^="sticky-cta-"] button {
  background: linear-gradient(135deg, #F78C1F 0%, #e07b15 100%) !important;
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

/* Button hover effects */
[id^="sticky-cta-"] button:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* Show/hide states */
[id^="sticky-cta-"]:not(.translate-y-full) {
  transform: translateY(0) !important;
}

[id^="sticky-cta-"].translate-y-full {
  transform: translateY(100%) !important;
}

/* Mobile responsive styling */
@media (max-width: 640px) {
  [id^="sticky-cta-"] > div {
    padding: 10px 12px !important;
  }
  
  [id^="sticky-cta-"] > div > div {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  [id^="sticky-cta-"] button {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
  }
  
  [id^="sticky-cta-"] .w-8.h-8,
  [id^="sticky-cta-"] [style*="width: 40px"] {
    width: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 641px) {
  [id^="sticky-cta-"] > div > div {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  [id^="sticky-cta-"] button {
    width: auto !important;
    min-width: 180px !important;
  }
}

/* Animation keyframes for sticky CTA */
@keyframes sticky-cta-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes sticky-cta-slide-down {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Enhanced animation classes */
[id^="sticky-cta-"].sticky-show {
  animation: sticky-cta-slide-up 0.3s ease-out forwards !important;
}

[id^="sticky-cta-"].sticky-hide {
  animation: sticky-cta-slide-down 0.3s ease-in forwards !important;
}

/* Debug styling - can be enabled for testing */
.sticky-cta-debug [id^="sticky-cta-"] {
  border: 2px solid red !important;
  background-color: rgba(255, 0, 0, 0.1) !important;
}

.sticky-cta-debug [id^="sticky-cta-"] button {
  border: 1px solid blue !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  [id^="sticky-cta-"] {
    border-top: 3px solid #000 !important;
  }
  
  [id^="sticky-cta-"] > div {
    background-color: #fff !important;
    border-top: 2px solid #000 !important;
  }
  
  [id^="sticky-cta-"] button {
    border: 2px solid #000 !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  [id^="sticky-cta-"] {
    transition: none !important;
  }
  
  [id^="sticky-cta-"] button {
    transition: none !important;
  }
  
  [id^="sticky-cta-"] button:hover {
    transform: none !important;
  }
}

/* Professional Quote Tab Styles */
.quote-tab-btn {
  transition: all 0.2s ease;
  border-width: 2px;
}

.quote-tab-btn:hover {
  background-color: rgba(26, 75, 124, 0.05) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quote-tab-btn.active {
  border-style: dashed !important;
  border-color: #1A4B7C !important;
  color: #1A4B7C !important;
  background-color: white !important;
  font-weight: 600;
}

.quote-tab-btn:not(.active) {
  border-style: solid !important;
  border-color: #d1d5db !important;
  color: #6b7280 !important;
}

.quote-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quote-content.active {
  opacity: 1;
}

/* Company Logo Styling */
.quote-content img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Professional Card Styling */
.quote-content .bg-white {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.quote-content .bg-white:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.quote-content.hidden {
  display: none;
} 