
.iautomate-header {
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.iautomate-icon-area {
    display: flex;
    align-items: center;
    padding: 15px 10px;
}

.iautomate-icon {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.iautomate-icon:hover {
    transform: scale(1.05);
}

.iautomate-header-text {
    margin-right: 15px;
}

.iautomate-expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
}

.iautomate-expand-icon i {
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.iautomate-expand-icon i:hover {
    transform: rotate(180deg);
}

.iautomate-table-header {
    text-align: left;
    /* font-weight: bold; */
    padding: 15px 20px!important;
}

.iautomate-note-section {
    background-color: rgba(0,0,0,0.02);
    border-left: 4px solid #ffc107;
    padding: 12px 20px;
    margin: 5px 0;
    border-radius: 0 4px 4px 0;
}

.iautomate-data-row {
    display: flex;
    align-items: center;
    padding: 5px 0;
    /* border-bottom: 1px solid rgba(0,0,0,0.05); */
}

.iautomate-data-name {
    padding-left: 20px;
}

.iautomate-data-value {
    text-align: right;
    font-weight: 600;
}

.iautomate-data-unit {
    text-align: right;
    font-style: italic;
}

.iautomate-combine-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    background-color: rgba(0,0,0,0.01);
}

.iautomate-combine-name {
    padding-left: 20px;
}

.iautomate-combine-value {
    text-align: right;
    font-weight: 500;
}

.iautomate-expand-button {
    border-radius: 0 0 8px 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.iautomate-expand-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.iautomate-expand-icon-btn {
    font-size: 16px;
    margin-right: 8px;
}

.iautomate-expand-text {
    font-weight: 600;
    display: inline;
}

.iautomate-action-button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iautomate-action-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.iautomate-action-button {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: none;
    padding: 12px 24px;
    position: relative;
}

.iautomate-action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.iautomate-button-text {
    font-weight: 600;
}

/* Input Data Styles */
.iautomate-input-detail {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.iautomate-input-element {
    padding-left: 20px;
}

.iautomate-input-right-aligned {
    text-align: right;
    margin-left: auto;
    padding-right: 20px;
    font-weight: 600;
}

.iautomate-input-dual-value {
    margin-left: auto;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.iautomate-input-secondary {
    font-weight: 400;
    opacity: 0.8;
}

.iautomate-blurred-input {
    filter: blur(2px);
}

/* Chart Styles */
.iautomate-chart-container {
    background-color: rgba(255,255,255,0.02);
    border-radius: 8px;
    margin: 10px 0;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
}

.iautomate-chart-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.iautomate-chart-header {
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 2px solid;
}

.iautomate-chart-row {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.iautomate-chart-row:hover {
    opacity: 0.8;
}

.iautomate-chart-cell {
    padding: 12px 20px;
}

.iautomate-chart-cell-right {
    padding: 12px 20px;
    text-align: right;
    font-weight: 600;
}

/* Image Container Styles */
.iautomate-image-container {
    background-color: rgba(255,255,255,0.02);
    border-radius: 8px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.iautomate-image-info {
    color: #546a7a;
}

/* Upload Styles */
.iautomate-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: rgba(0,0,0,0.02);
}

.iautomate-upload-area:hover {
    border-color: #007bff;
    background-color: rgba(0,123,255,0.05);
}

.iautomate-image-preview-container {
    position: relative;
    display: inline-block;
    margin: 10px 0;
}

.iautomate-remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.iautomate-image-preview {
    max-width: 100px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Action Button Container Styles */
.iautomate-action-button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iautomate-action-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Expand Button Icon */
.iautomate-expand-icon-btn {
    font-size: 16px;
    margin-right: 8px;
}

/* Send Email Form Styles */
.iautomate-email-form-container {
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.iautomate-email-form-wrapper {
    padding: 20px 25px 25px 25px;
    border-radius: 12px;
    position: relative;
}

.iautomate-email-form-title {
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
}

.iautomate-email-form-field {
    margin-bottom: 15px;
    padding: 8px 0;
}

.iautomate-email-form-field-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    padding: 8px 0;
    justify-content: center;
    align-items: center;
}

.iautomate-email-form-field-half {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
}

.iautomate-email-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    padding: 0 5px;
}

.iautomate-email-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.iautomate-email-form-input::placeholder {
    text-align: center;
}

.iautomate-email-form-input::-webkit-input-placeholder {
    text-align: center;
}

.iautomate-email-form-input::-moz-placeholder {
    text-align: center;
}

.iautomate-email-form-input:-ms-input-placeholder {
    text-align: center;
}

.iautomate-email-form-input:focus {
    outline: none;
    /* border-color: #007bff; */
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.iautomate-email-form-button {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    font-size: 0.875em;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 100px;
}

.iautomate-email-form-button-large {
    padding: 20px 60px;
    font-size: 1.5em;
    min-width: 220px;
    border-radius: 50px;
}

.iautomate-email-form-button-medium {
    padding: 14px 40px;
    font-size: 1.125em;
    min-width: 160px;
    border-radius: 40px;
}

.iautomate-email-form-button-small {
    padding: 6px 15px;
    font-size: 0.625em;
    min-width: 70px;
    border-radius: 30px;
}

.iautomate-email-form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.iautomate-email-form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.iautomate-email-form-submit-area {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
}

.iautomate-email-form-checkbox-area {
    margin-top: 15px;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iautomate-email-form-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.iautomate-email-form-checkbox-centered {
    justify-content: center;
    /* align-items: center; */
    text-align: center;
    display: inline-flex;
}

.iautomate-email-form-checkbox {
    margin-top: 0;
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

.iautomate-email-form-checkbox-label {
    flex: 1;
    font-size: 0.875em;
    line-height: 1.4;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .iautomate-email-form-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .iautomate-email-form-wrapper {
        padding: 15px;
    }
    
    .iautomate-email-form-field-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .iautomate-email-form-field-half {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .iautomate-email-form-button {
        padding: 8px 20px;
        font-size: 0.75em;
        min-width: 80px;
    }
    
    .iautomate-email-form-button-large {
        padding: 16px 45px;
        font-size: 1.25em;
        min-width: 180px;
        border-radius: 35px;
    }
    
    .iautomate-email-form-button-medium {
        padding: 12px 30px;
        font-size: 1em;
        min-width: 120px;
        border-radius: 25px;
    }
    
    .iautomate-email-form-button-small {
        padding: 4px 12px;
        font-size: 0.5em;
        min-width: 50px;
        border-radius: 12px;
    }
}

/* Special Design Form Layout with Custom Widths and Vertical Centering */
.iautomate-special-form-container {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.iautomate-special-text-section {
    width: 66.66666667%;
    display: flex;
    align-items: center;
    padding-right: 15px;
    padding-left: 15px;
}

.iautomate-special-select-section {
    width: 33.33333333%;
    display: flex;
    align-items: center;
    padding-right: 15px;
    padding-left: 15px;
}

/* HORIZONTAL DROPDOWN STYLES - For special design with hasSecondAnswer=true */
/* Base styles for all screen sizes */
.horizontal-dual-dropdown .iautomate-special-select-content {
    display: flex;
    flex-direction: row;
    gap: 5px;
    width: 100%;
}

.horizontal-dual-dropdown .iautomate-dual-select-left,
.horizontal-dual-dropdown .iautomate-dual-select-right {
    width: 50%;
    position: relative;
}

.horizontal-dropdown-trigger {
    min-height: 34px;
    height: auto;
    padding: 6px 25px 6px 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.horizontal-dropdown-trigger span {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    font-weight: normal;
}

.horizontal-dropdown-menu {
    width: 100%;
    max-width: 100%;
    z-index: 1010;
    position: absolute;
    box-shadow: 0 4px 8px rgba(0,0,0,0.175);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    /* padding: 5px 0; */
    left: 0;
    right: 0;
}

.horizontal-dropdown-menu .iautomate-custom-dropdown-option {
    padding: 6px 10px;
    white-space: normal;
    line-height: 1.3;
    font-size: 13px;
    min-height: 30px;
    display: flex;
    align-items: center;
}
.iautomate-custom-dropdown-menu .iautomate-custom-dropdown-option {
    padding: 6px 10px;
    white-space: normal;
    line-height: 1.3;
    font-size: 13px;
    min-height: 30px;
    display: flex;
    align-items: center;
}
/* Additional styles only for responsive mode */
@media (max-width: 768px) {
    .iautomate-special-form-container {
        flex-direction: column;
    }
    
    .iautomate-special-text-section {
        width: 100%;
        padding-bottom: 10px;
    }
    
    .iautomate-special-select-section {
        width: 100%;
    }
    
    .horizontal-dual-dropdown {
        width: 100%;
    }
    
    .horizontal-dual-dropdown .iautomate-special-select-content {
        gap: 10px;
    }
    
    .horizontal-dropdown-trigger {
        min-height: 40px;
        padding: 8px 25px 8px 10px;
        font-size: 14px;
    }
}

.iautomate-special-text-content {
    width: 100%;
    display: flex;
    align-items: center;
}

.iautomate-special-select-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iautomate-dual-select-left {
    width: 50%;
    padding-right: 5px;
}

.iautomate-dual-select-right {
    width: 50%;
    padding-left: 5px;
}

.iautomate-single-select {
    width: 100%;
}

.iautomate-special-form-control {
    height: 34px;
    line-height: 1.42857143;
}

/* Chart Layout Split 50/50 */
.iautomate-chart-container {
    display: flex;
    width: 100%;
    min-height: 200px;
}

.iautomate-chart-left-section {
    width: 50%;
    padding-right: 10px;
}

.iautomate-chart-right-section {
    width: 50%;
    padding-left: 10px;
    display: flex;
    align-items: stretch;
}

/* Responsive Chart Layout - Mobile First */
@media (max-width: 768px) {
    .iautomate-chart-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .iautomate-chart-left-section {
        width: 100%;
        padding-right: 0;
        padding-bottom: 15px;
    }
    
    .iautomate-chart-right-section {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
    }
    
    .iautomate-header-box {
        min-height: 120px;
        padding: 20px 15px;
    }
    
    .iautomate-header-content {
        width: 100%;
    }
    
    .currency-unit-container {
        flex-wrap: wrap;
        gap: 5px;
    }
}

.iautomate-header-box {
    width: 100%;
    /* border-radius: 8px; */
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.iautomate-header-content {
    text-align: center;
    /* line-height: 1.4; */
}

.iautomate-header-currency {
    /* color: white; */
    font-weight: bold;
    /* font-size: 20px; */
    margin-top: 10px;
    text-align: center;
}

/* Compact Data Row Layout */
.iautomate-data-row-compact {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    gap: 5px;
}

.iautomate-data-name-compact {
    flex: 2;
    text-align: left;
    padding-right: 5px;
}

.iautomate-data-value-compact {
    flex: 1;
    text-align: center;
    padding: 0 5px;
}

.iautomate-data-unit-compact {
    flex: 1;
    text-align: right;
    padding-left: 5px;
}
.iautomate-text-special-form-control {
    height: 46px;
    line-height: 1.42857143;
}

/* Textarea specific styles */
.iautomate-text-special-form-control[rows] {
    height: auto;
    min-height: 46px;
}

textarea.form-control.item-element {
    resize: vertical;
    min-height: 80px;
}

/* Dropdown hover effects for special design */
.iautomate-special-form-control option:hover {
    background-color: red !important;
    color: white !important;
}

.iautomate-special-form-control option:focus {
    background-color: red !important;
    color: white !important;
}

/* Additional targeting for browser compatibility */
select.iautomate-special-form-control option:hover {
    background-color: red !important;
    color: white !important;
}

select.iautomate-special-form-control option:checked {
    background-color: red !important;
    color: white !important;
}

/* Alternative: Style the select element itself when opened/focused */
.iautomate-special-form-control:focus {
    border-color: red !important;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2) !important;
}

.iautomate-special-form-control:hover {
    border-color: red !important;
}

/* Custom Dropdown Styles */
.iautomate-custom-dropdown {
    position: relative;
    width: 100%;
}

.iautomate-custom-dropdown-trigger {
    height: 46px;
    line-height: 32px;
    padding: 0 30px 0 12px;
    /* border: 1px solid #ccc; */
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px;
    color: var(--text-color-not-selected);
    /* background-color: var(--bg-color-not-selected); */
    transition: all 0.2s ease;
}

.iautomate-custom-dropdown-trigger span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}

.iautomate-custom-dropdown-trigger:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: currentColor transparent transparent transparent;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.iautomate-custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.iautomate-custom-dropdown-option {
    height: 46px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.iautomate-custom-dropdown-option:last-child {
    border-bottom: none;
}

.iautomate-custom-dropdown-option.selected {
    background-color: var(--bg-color-selected);
    color: var(--text-color-selected);
    font-weight: bold;
}

.iautomate-special-form-container .iautomate-custom-dropdown-option:hover,
.iautomate-custom-dropdown-option:hover {
    /* background-color: var(--bg-color-selected); */
    background-color: #009ef7;
}

/* Close dropdown when clicking outside */
.iautomate-custom-dropdown-menu {
    display: block;
}

.iautomate-custom-dropdown-menu.ng-hide {
    display: none !important;
}

/* Custom scrollbar for special design dropdowns only */
.iautomate-custom-dropdown-menu::-webkit-scrollbar {
    width: 10px;
    height: 2px;
}

.iautomate-custom-dropdown-menu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 1px;
}

/* .iautomate-custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: #5bb75b;
    border-radius: 5px;
}

.iautomate-custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #5cb85c;
} */
/* .iautomate-data-content {
    border-left: 3px solid;
    transition: all 0.2s ease;
}

.iautomate-data-content:hover {
    opacity: 0.8;
} */

/* 3D Visualization Styles */
.iautomate-3d-visualization-container {
    /* background: linear-gradient(135deg, #6699ff, #9999cc); */
    padding: 20px;
    border-radius: 8px;
    margin: 10px 0;
    position: relative;
    min-height: 200px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.iautomate-3d-loading-placeholder,
.iautomate-3d-loading-spinner,
.iautomate-3d-error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: white;
}

.iautomate-3d-loading-spinner i {
    animation: iautomate-spin 1s linear infinite;
    font-size: 2em;
}

.iautomate-3d-loading-spinner p {
    margin-top: 10px;
}

@keyframes iautomate-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.iautomate-3d-iframe-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.iautomate-3d-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 5px;
    background: white;
    transition: opacity 0.3s ease;
}

.iautomate-3d-error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 5px;
    color: #721c24;
    padding: 20px;
}

.iautomate-3d-load-button {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iautomate-3d-load-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.iautomate-3d-reload-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iautomate-3d-reload-button:hover {
    background-color: rgba(0,0,0,0.9);
    transform: translateY(-1px);
}

.iautomate-3d-retry-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iautomate-3d-retry-button:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

/* Special Design Buttons - Centered & Rounded */
.special-design-buttons-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.special-design-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

/* Make buttons rounded by default */
.special-design-buttons .btn.rounded-btn {
    min-width: 180px;
    padding: 10px 20px;
    display: block;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
}

.special-design-buttons .btn.rounded-btn:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.15); */
}

/* Button sizes for special design */
.special-design-buttons .large-submit-button {
    min-width: 250px;
    padding: 15px 30px !important;
}

.special-design-buttons .medium-submit-button {
    min-width: 200px;
    padding: 12px 25px !important;
}

.special-design-buttons .small-submit-button {
    min-width: 150px;
    padding: 8px 20px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .special-design-buttons {
        max-width: 300px;
    }
    
    .special-design-buttons .large-submit-button {
        min-width: 220px;
        padding: 12px 25px !important;
    }
    
    .special-design-buttons .medium-submit-button {
        min-width: 180px;
        padding: 10px 20px !important;
    }
    
    .special-design-buttons .small-submit-button {
        min-width: 140px;
        padding: 8px 16px !important;
    }
}

/* Go Back link styling */
.go-back-link {
    font-size: 20px;
    display: block;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
}
.go-back-link:hover {
   transform: translateY(-2px);
}

/* Embedded Language Dropdown Styles */
.embed-lang-dropdown {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin: 10px auto;
    z-index: 1000;
    /* max-width: 1000px;
    padding: 0 15px; */
    min-height: 30px;
}

/* Language Dropdown Position Variations */
.embed-lang-dropdown-left {
    justify-content: flex-start;
}

.embed-lang-dropdown-right {
    justify-content: flex-end;
}

.embed-lang-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: black;
    position: relative;
    z-index: 1051;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.embed-lang-dropdown-toggle:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.embed-lang-dropdown-toggle i {
    margin-right: 8px;
}

.embed-lang-dropdown-menu {
    position: absolute;
    top: 100%;
    /* right: 15px; */
    /* min-width: 120px; */
    margin-top: 5px;
    padding: 5px 0;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1052;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dropdown menu positioning for left alignment */
.embed-lang-dropdown-left .embed-lang-dropdown-menu {
    right: auto;
    /* left: 15px; */
}

/* Ensure parent containers don't hide the dropdown */
#page-wrapper {
    overflow: visible !important;
}

.view-content {
    overflow: visible !important;
}

.embed-lang-dropdown-item {
    display: block;
    padding: 8px 15px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    border-radius: 8px;
    margin: 3px 8px;
}

.embed-lang-dropdown-item:hover,
.embed-lang-dropdown-item.active {
    background-color: #f5f5f5;
    text-decoration: none;
}

.embed-lang-dropdown-item img {
    vertical-align: middle;
}

/* Specific fix for currency container in iautomatelinechart.html (lines 48-54) */
.iautomatelinechart-currency-fix .iautomate-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iautomatelinechart-currency-fix .iautomate-header-content > span[ng-bind-html] {
    display: block;
    white-space: nowrap;
}

.iautomatelinechart-currency-fix .iautomate-header-content > div.iautomate-header-currency {
    display: inline;
    white-space: nowrap;
    margin-right: 4px;
}

.iautomatelinechart-currency-fix .iautomate-header-content > span[ng-class] {
    display: inline;
    white-space: nowrap;
}

.iautomatelinechart-currency-fix .iautomate-header-content .currency-unit-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Data List Item Alignment */
.iautomate-data-list-item {
    display: flex;
    align-items: flex-start;
}

.iautomate-list-bullet {
    margin-right: 8px;
    flex-shrink: 0;
}

.iautomate-list-content {
    flex: 1;
}
.iautomatelinechart-currency-fix .iautomate-header-box {
    flex-direction: column;
    gap: 15px;
}