/* AV8 Quick Import - Public Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Container */
.av8-qi-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
}

/* Search Form */
.av8-qi-form {
    width: 100%;
}

.av8-qi-search-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch;
}

.av8-qi-address-input {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.av8-qi-address-input:focus {
    outline: none;
    border-color: #1b449d;
    box-shadow: 0 0 0 2px rgba(27, 68, 157, 0.15);
}

/* Google Places Autocomplete Styling */
gmp-place-autocomplete {
    flex: 1;
    display: block;
    width: 100% !important;
    color-scheme: light !important;
}

gmp-place-autocomplete input {
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 500 !important;
}

gmp-place-autocomplete input:focus {
    outline: none !important;
    border-color: #1b449d !important;
    box-shadow: 0 0 0 2px rgba(27, 68, 157, 0.15) !important;
}

gmp-place-autocomplete input::placeholder {
    color: #999 !important;
}

/* Style the dropdown container */
gmp-place-autocomplete .dropdown-container {
    z-index: 9999 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    background: white !important;
    overflow: hidden !important;
}

/* Style dropdown items */
gmp-place-autocomplete .dropdown-item {
    padding: 12px 15px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid #f5f5f5 !important;
    cursor: pointer !important;
}

gmp-place-autocomplete .dropdown-item:last-child {
    border-bottom: none !important;
}

gmp-place-autocomplete .dropdown-item:hover {
    background-color: #f8f9fa !important;
    transform: translateX(2px) !important;
}

gmp-place-autocomplete .dropdown-item:active {
    background-color: #e9ecef !important;
}

/* Style the place icons in dropdown */
gmp-place-autocomplete .dropdown-item .place-icon {
    opacity: 0.6 !important;
    margin-right: 8px !important;
}
.av8-qi-submit-button .av8-qi-button-text {
    font-size: 16px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
}
.av8-qi-submit-button {
    padding: 12px 24px;
   
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    min-width: 140px;
    justify-content: center;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    /* Animated gradient background using brand colors */
    background: linear-gradient(45deg, #1b449d, #00aeff, #1b449d, #00aeff);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    
    /* Text styling */
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    
    /* Enhanced effects */
    box-shadow: 0 4px 15px rgba(27, 68, 157, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.av8-qi-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.av8-qi-submit-button:hover::before {
    left: 100%;
}

.av8-qi-submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(27, 68, 157, 0.4), 0 2px 10px rgba(0, 174, 255, 0.2);
    animation-duration: 2s;
}

.av8-qi-submit-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27, 68, 157, 0.3);
}

.av8-qi-submit-button:disabled {
    background: #c0c0c0;
    cursor: not-allowed;
    animation: none;
    box-shadow: none;
    transform: none;
}

/* Gradient animation keyframes */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Pulse effect for extra style */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(27, 68, 157, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(27, 68, 157, 0.5), 0 2px 15px rgba(0, 174, 255, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(27, 68, 157, 0.3);
    }
}

.av8-qi-submit-button:focus {
    outline: none;
    animation: pulse 2s ease-in-out infinite;
}

/* Loading state styling */
.av8-qi-submit-button .av8-qi-loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Loading Spinner */
.av8-qi-loading-spinner {
    width: 20px;
    height: 20px;
}

.av8-qi-spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
}

.av8-qi-spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Stylish Loading Container */
.av8-qi-loading-container {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
    font-size: 1.2rem;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 2rem 0;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(27, 68, 157, 0.1);
}

.av8-qi-loading-spinner-large {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #1b449d;
}

.av8-qi-loading-spinner-large .av8-qi-spinner {
    width: 60px;
    height: 60px;
}

.av8-qi-loading-message {
    font-weight: 600;
    line-height: 1.4;
    transition: opacity 0.3s ease;
    color: #1b449d;
}

/* Error Messages */
.av8-qi-error-message,
.av8-qi-user-error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Success Messages */
.av8-qi-user-error-message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

/* reCAPTCHA v2 */
.av8-qi-recaptcha-v2 {
    margin-top: 15px;
}

.av8-qi-recaptcha-container {
    display: inline-block;
}

/* Property Preview Section */
.av8-qi-preview-section {
    animation: fadeIn 0.3s ease;
}

/* Property Result Card (Based on existing design) */
.av8-qi-property-result {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 2rem auto 0;
}

.property-result {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.property-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
}

.property-image {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.property-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-main-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Property Status Section */
.property-status-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
    align-items: center;
}

.listing-status-badge {
    display: inline-block;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.days-on-market-badge {
    display: inline-block;
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.property-main-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: #1b449d;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
}

.property-main-info .location {
    color: #c0c0c0;
    margin: 0 0 1rem;
}

.property-main-info .price {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1b449d;
    margin: 0;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-item .label {
    font-size: 0.875rem;
    color: #696969;
    margin-bottom: 0.25rem;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
}

.detail-item .value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1b449d;
}

.property-description {
    padding: 1.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.property-description p {
    margin: 0;
}

/* Collapsible Description */
.av8-qi-description-content {
    position: relative;
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.av8-qi-description-content[data-collapsed="false"] {
    max-height: none;
}

.av8-qi-description-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.av8-qi-description-content[data-collapsed="false"] .av8-qi-description-fade {
    display: none;
}

/* Calmer Description Toggle Button */
.av8-qi-description-toggle {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    margin-top: 12px;
    border-radius: 16px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.av8-qi-description-toggle:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
}

.av8-qi-description-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Aviation Features Section */
.av8-qi-aviation-features h4 {
    font-size: 1.2rem;
}

/* Property Confirmation Checkbox (Based on existing design) */
.property-confirmation {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.confirmation-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.confirmation-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    background-color: white;
    border: 2px solid #c0c0c0;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.confirmation-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #57A31D;
    border-color: #57A31D;
}

.confirmation-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.confirmation-text {
    color: #4a5568;
    flex: 1;
}

/* User Section */
.av8-qi-user-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
}

.property-cta {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.av8-qi-logged-in-user p {
    margin-bottom: 15px;
    color: #333;
}

.av8-qi-logged-in-user .av8-qi-user-update-form {
    max-width: 400px;
    margin: 0 auto 20px;
    text-align: left;
}

.av8-qi-guest-user h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1b449d;
    font-size: 20px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
}

.av8-qi-form-row {
    margin-bottom: 15px;
}

.av8-qi-form-row label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
    color: #1b449d;
}

.av8-qi-form-row .required {
    color: #dc3545;
}

.av8-qi-form-row input {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.av8-qi-form-row input:focus {
    outline: none;
    border-color: #1b449d;
    box-shadow: 0 0 0 2px rgba(27, 68, 157, 0.15);
}

.av8-qi-login-option {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.av8-qi-login-link {
    color: #1b449d;
    text-decoration: none;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
}

.av8-qi-login-link:hover {
    color: #00aeff;
    text-decoration: underline;
}

/* Import Now Button (Based on existing design) */
.import-now-btn {
    background: #c0c0c0;
    color: #FFFFFF;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
    border-radius: 8px;
    cursor: not-allowed;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.import-now-btn:disabled {
    background: #c0c0c0;
    cursor: not-allowed;
    opacity: 0.6;
}

.import-now-btn.enabled,
.import-now-btn:not(:disabled) {
    background: linear-gradient(45deg, #57A31D, #77c720, #57A31D, #77c720);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(87, 163, 29, 0.3);
}

.import-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.import-now-btn.enabled:hover::before,
.import-now-btn:not(:disabled):hover::before {
    left: 100%;
}

.import-now-btn.enabled:hover,
.import-now-btn:not(:disabled):hover {
    animation-duration: 2s;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 163, 29, 0.4), 0 2px 10px rgba(119, 199, 32, 0.2);
}

.import-now-btn.enabled:focus,
.import-now-btn:not(:disabled):focus {
    outline: none;
    animation: pulseGreen 2s ease-in-out infinite, gradientShift 3s ease infinite;
}

/* Green pulse effect for publish button */
@keyframes pulseGreen {
    0% {
        box-shadow: 0 4px 15px rgba(87, 163, 29, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(87, 163, 29, 0.5), 0 2px 15px rgba(119, 199, 32, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(87, 163, 29, 0.3);
    }
}

/* Actions */
.av8-qi-actions {
    margin-top: 20px;
    text-align: center;
}

.av8-qi-back-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.av8-qi-back-link:hover {
    color: #1b449d;
    text-decoration: underline;
}

/* Success Section */
.av8-qi-success-section {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease;
}

.av8-qi-success-message h3 {
    color: #57A31D;
    font-size: 28px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.av8-qi-success-message p {
    color: #666;
    font-size: 16px;
    margin: 5px 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .av8-qi-search-wrapper {
        flex-direction: column;
    }

    .av8-qi-submit-button {
        min-width: 100%;
        padding: 14px 24px;
        font-size: 16px;
    }

    /* Google Places Autocomplete on mobile */
    gmp-place-autocomplete {
        width: 100% !important;
        margin-bottom: 10px;
    }

    gmp-place-autocomplete input {
        padding: 14px 15px !important;
        font-size: 16px !important;
    }

    .property-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .property-details {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .av8-qi-loading-container {
        padding: 2rem 1rem;
        font-size: 1.1rem;
        margin: 1.5rem 0;
    }

    .av8-qi-loading-spinner-large {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem;
    }

    .av8-qi-loading-spinner-large .av8-qi-spinner {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .property-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }

    .property-status-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .av8-qi-loading-container {
        padding: 1.5rem 1rem;
        font-size: 1rem;
        margin: 1rem 0;
    }

    .av8-qi-loading-spinner-large {
        width: 40px;
        height: 40px;
        margin: 0 auto 0.75rem;
    }

    .av8-qi-loading-spinner-large .av8-qi-spinner {
        width: 40px;
        height: 40px;
    }

    /* Enhanced mobile button styling */
    .av8-qi-submit-button {
        padding: 16px 24px;
        font-size: 16px;
        border-radius: 10px;
        min-height: 48px;
        touch-action: manipulation;
    }

    /* Reduce animation intensity on mobile for performance */
    .av8-qi-submit-button {
        animation-duration: 4s;
    }

    .av8-qi-submit-button:hover {
        animation-duration: 3s;
    }
}

/* Accessibility */
.av8-qi-container *:focus-visible {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .av8-qi-submit-button,
    .av8-qi-description-toggle,
    .av8-qi-back-link,
    .av8-qi-recaptcha-v2,
    .av8-qi-actions {
        display: none;
    }
}

/* Google Places Autocomplete Override */
.av8-qi-container #auto_complete_ajax {
    z-index: 9999 !important;
}

/* Existing Property Alert */
.av8-qi-existing-property-alert {
    animation: fadeIn 0.3s ease;
}

/* Action Section */
.av8-qi-action-section {
    animation: fadeIn 0.3s ease;
}

/* Informative Message */
.av8-qi-info-message {
    animation: fadeIn 0.3s ease;
}

/* Request Access Button */
.av8-qi-request-access-btn {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.av8-qi-request-access-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.av8-qi-request-access-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Publish Button */
.av8-qi-publish-btn {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.av8-qi-publish-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.av8-qi-publish-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Different Property Section */
.av8-qi-different-property-section {
    animation: fadeIn 0.3s ease;
}

/* User Action Form - Improved Structure */
.av8-qi-user-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0;
    margin: 20px auto;
    max-width: 900px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* User Information Subsection */
.av8-qi-user-info-section {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.av8-qi-section-title {
    margin: 0 0 1rem;
    color: #1b449d;
    font-size: 20px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
}

.av8-qi-user-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin-bottom: 1rem;
}

.av8-qi-status-icon {
    font-size: 1.2rem;
}

.av8-qi-info-needed {
    margin-top: 1rem;
}

.av8-qi-info-message {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin: 0 0 1rem;
    font-size: 14px;
}

/* Legal Confirmation Subsection */
.av8-qi-confirmation-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

/* GDPR Confirmation Styling */
.av8-qi-gdpr-confirmation {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.av8-qi-gdpr-agreement-content {
    margin-top: 1rem;
    margin-left: 36px; /* Align with checkbox text */
}

.av8-qi-agreement-textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.av8-qi-agreement-textarea:focus {
    outline: none;
    border-color: #1b449d;
    box-shadow: 0 0 0 2px rgba(27, 68, 157, 0.15);
}

.av8-qi-agreement-textarea::-webkit-scrollbar {
    width: 8px;
}

.av8-qi-agreement-textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.av8-qi-agreement-textarea::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 4px;
}

.av8-qi-agreement-textarea::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Action Buttons Subsection */
.av8-qi-actions-section {
    padding: 1.5rem;
}

.av8-qi-action-title {
    margin: 0 0 1rem;
    color: #1b449d;
    font-size: 18px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
}

.av8-qi-primary-action {
    margin-bottom: 1.5rem;
}

.av8-qi-primary-action .av8-qi-request-access-btn {
    width: 100%;
    margin-bottom: 0;
}

.av8-qi-alternative-action {
    position: relative;
}

.av8-qi-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.av8-qi-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.av8-qi-divider-text {
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.av8-qi-different-property-section {
    margin-bottom: 1rem;
}

.av8-qi-different-property-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    padding: 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.av8-qi-different-property-label:hover {
    background: #fff8e1;
}

.av8-qi-different-property-checkbox {
    margin: 0.2rem 0 0 0;
    transform: scale(1.2);
    accent-color: #1b449d;
}

.av8-qi-different-property-text {
    flex: 1;
    color: #856404;
}

.av8-qi-new-property-action {
    text-align: center;
}

/* Info Section */
.av8-qi-info-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.av8-qi-timeline-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 1rem;
}

.av8-qi-info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.av8-qi-info-icon {
    font-size: 1.1rem;
    color: #1976d2;
}

.av8-qi-info-title {
    color: #1976d2;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
}

.av8-qi-info-text {
    margin: 0;
    color: #1976d2;
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile responsive for user action form */
@media (max-width: 768px) {
    .av8-qi-user-section {
        margin: 15px;
        border-radius: 8px;
    }
    
    .av8-qi-user-info-section,
    .av8-qi-confirmation-section,
    .av8-qi-actions-section,
    .av8-qi-info-section {
        padding: 1rem;
    }
    
    .av8-qi-section-title {
        font-size: 18px;
    }
    
    .av8-qi-action-title {
        font-size: 16px;
    }
    
    .av8-qi-user-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .av8-qi-different-property-label {
        font-size: 13px;
        padding: 0.75rem;
    }
    
    .av8-qi-info-text {
        font-size: 13px;
    }
    
    /* GDPR elements mobile responsiveness */
    .av8-qi-gdpr-agreement-content {
        margin-left: 0;
    }
    
    .av8-qi-agreement-textarea {
        height: 100px;
        font-size: 13px;
        padding: 10px;
    }
}