/**
 * Miami Plants - Hedge Quote Form Styles
 * Version: 1.0 - Elementor Safe
 */

/* Scope everything to the form container to avoid conflicts */
.hedge-quote-form * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#plantsNeededInput{
    display: none;
}
.hedge-quote-form {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 700px;
    margin: 0 auto;
    background: #E7EEE7;
    border: 2px solid #B7CCB7;
    border-radius: 24px;
    overflow: hidden;
}

.hedge-quote-form .form-header {
    background: #26683E;
    color: white;
    padding: 32px 28px;
    text-align: center;
    position: relative;
}

.hedge-quote-form .promo-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.hedge-quote-form .form-header h2 {
    font-size: 26px;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hedge-quote-form .form-header p {
    font-size: 15px;
    opacity: 0.95;
}

.hedge-quote-form .progress-container {
    background: #ffffff;
    padding: 28px 28px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.hedge-quote-form .progress-bar-track {
    height: 4px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 18px;
    overflow: hidden;
}

.hedge-quote-form .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #26683E 0%, #196d36 100%);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.hedge-quote-form .progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hedge-quote-form .progress-label {
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.hedge-quote-form .progress-label.active {
    color: #26683E;
}

.hedge-quote-form .form-content {
    padding: 32px 28px;
    min-height: 400px;
}

.hedge-quote-form .step {
    display: none;
}

.hedge-quote-form .step.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

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

.hedge-quote-form .step-title {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hedge-quote-form .step-subtitle {
    color: #6b7280;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.5;
}

.hedge-quote-form .form-group {
    margin-bottom: 24px;
}

.hedge-quote-form label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.hedge-quote-form .required {
    color: #26683E;
}

.hedge-quote-form input[type="text"],
.hedge-quote-form input[type="tel"],
.hedge-quote-form input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #B7CCB7;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
    color: #1f2937;
}

.hedge-quote-form input:focus {
    outline: none;
    border-color: #26683E;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
}

.hedge-quote-form input:disabled {
    background: #fff;
    cursor: not-allowed;
    color: #9ca3af;
}

.hedge-quote-form input::placeholder {
    color: #9ca3af;
}

.hedge-quote-form .validation-message {
    font-size: 13px;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    display: none;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.hedge-quote-form .validation-message.show {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hedge-quote-form .toggle-single {
    position: relative;
}

.hedge-quote-form .toggle-single input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.hedge-quote-form .toggle-single-label {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border: 2px solid #B7CCB7;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
}

.hedge-quote-form .toggle-single input[type="checkbox"]:checked + .toggle-single-label {
    border-color: #26683E;
    background: #fff;
}

.hedge-quote-form .toggle-single-label:hover {
    border-color: #26683E;
}

.hedge-quote-form .toggle-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #B7CCB7;
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hedge-quote-form .toggle-single input[type="checkbox"]:checked + .toggle-single-label .toggle-checkbox {
    background: #26683E;
    border-color: #26683E;
}

.hedge-quote-form .toggle-single input[type="checkbox"]:checked + .toggle-single-label .toggle-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.hedge-quote-form .toggle-text {
    flex: 1;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.hedge-quote-form .clusia-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hedge-quote-form .clusia-card {
    position: relative;
}

.hedge-quote-form .clusia-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.hedge-quote-form .clusia-label {
    display: block;
    padding: 18px 14px;
    border: 2px solid #B7CCB7;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    text-align: center;
    position: relative;
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hedge-quote-form .clusia-card input[type="radio"]:checked + .clusia-label {
    border-color: #26683E;
    background: #ecfdf5;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.12);
    transform: translateY(-3px);
}

.hedge-quote-form .clusia-label:hover {
    border-color: #26683E;
    transform: translateY(-2px);
}

.hedge-quote-form .clusia-size {
    font-size: 11px;
    color: #0c943b;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hedge-quote-form .clusia-height {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.hedge-quote-form .clusia-price {
    font-size: 15px;
    font-weight: 600;
    color: #0c943b;
    margin-bottom: 6px;
}

.hedge-quote-form .clusia-density {
    font-size: 12px;
    color: #6b7280;
}

.hedge-quote-form .clusia-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px #fbbf244d;
}

.hedge-quote-form .density-badge {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #26683E;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9);
    }
    to { 
        opacity: 1; 
        transform: scale(1);
    }
}

.hedge-quote-form .density-label {
    font-size: 12px;
    color: #047857;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hedge-quote-form .density-value {
    font-size: 40px;
    color: #26683E;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hedge-quote-form .density-subtitle {
    font-size: 13px;
    color: #26683Eb6;
    font-weight: 500;
}

.hedge-quote-form .upload-container {
    margin-top: 20px;
}

.hedge-quote-form .upload-area {
    border: 2px dashed #B7CCB7;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.hedge-quote-form .upload-area:hover {
    border-color: #26683E;
    background: #f0fdf4;
}

.hedge-quote-form .upload-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.hedge-quote-form .upload-text {
    color: #374151;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.hedge-quote-form .upload-hint {
    color: #6b7280;
    font-size: 12px;
}

.hedge-quote-form input[type="file"] {
    display: none;
}

.hedge-quote-form .uploaded-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.hedge-quote-form .uploaded-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid #B7CCB7;
}

.hedge-quote-form .uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hedge-quote-form .remove-image {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(220, 38, 38, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.hedge-quote-form .remove-image:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.hedge-quote-form .button-group {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.hedge-quote-form .btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    font-family: inherit;
}

.hedge-quote-form .btn-primary {
    background: linear-gradient(135deg, #FBBD22 0%, #F6A10E 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.hedge-quote-form .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #FBBD22 0%, #F6A10E 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.hedge-quote-form .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.hedge-quote-form .btn-secondary {
    background-color: #fff;
  color: #000;
}

.hedge-quote-form .btn-secondary:hover {
    background: #fff;
}

.hedge-quote-form .success-message {
    text-align: center;
    padding: 40px 20px;
}

.hedge-quote-form .success-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hedge-quote-form .success-message h3 {
    color: #1f2937;
    font-size: 26px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hedge-quote-form .success-message p {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.hedge-quote-form .success-highlight {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #26683E;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    color: #047857;
    font-weight: 600;
    font-size: 15px;
}

@media (max-width: 640px) {
    .hedge-quote-form .form-header {
        padding: 28px 24px;
    }

    .hedge-quote-form .form-header h2 {
        font-size: 24px;
    }

    .hedge-quote-form .form-content {
        padding: 28px 24px;
    }

    .hedge-quote-form .step-title {
        font-size: 22px;
    }

    .hedge-quote-form .button-group {
        flex-direction: column-reverse;
    }

    .hedge-quote-form .progress-container {
        padding: 24px 24px 20px;
    }

    .hedge-quote-form .density-value {
        font-size: 36px;
    }

    .hedge-quote-form .clusia-height {
        font-size: 16px;
    }
}