/* AI Helper Footer Styles */
.ai-helper-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: height 0.3s ease;
    height: 50px;
    overflow: hidden;
}

.ai-helper-footer.expanded {
    height: 430px;
}

.ai-helper-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    background-color: #4a6baf;
    color: white;
    height: 50px;
}

.ai-helper-toggle:hover {
    background-color: #3a5697;
}

.ai-helper-toggle div {
    display: flex;
    align-items: center;
}

.ai-helper-actions {
    display: flex;
    align-items: center;
}

.ai-settings-link {
    color: white;
    margin-right: 15px;
    font-size: 1.2em;
    transition: transform 0.2s ease;
}

.ai-settings-link:hover {
    color: white;
    opacity: 0.9;
    transform: rotate(30deg);
}

.ai-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

/* AI Status Indicator */
.ai-status-indicator {
    margin-left: 10px;
    font-size: 0.8em;
    transition: color 0.3s ease;
    color: #eeeeee; /* Default color (light gray) */
}

.ai-status-indicator.status-green {
    color: #5cb85c; /* Green for connected */
}

.ai-status-indicator.status-amber {
    color: #f0ad4e; /* Amber for not connected */
}

.arrow {
    transition: transform 0.3s ease;
}

.expanded .arrow i {
    transform: rotate(180deg);
}

.ai-helper-content {
    padding: 20px;
    background-color: white;
    height: 380px;
    overflow-y: auto;
}

.ai-helper-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.ai-helper-option {
    padding: 8px 15px;
    background-color: #f0f2f5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9em;
}

.ai-helper-option:hover {
    background-color: #e0e4ea;
}

.ai-helper-option.active {
    background-color: #4a6baf;
    color: white;
}

.ai-helper-input {
    margin-bottom: 15px;
}

.ai-helper-loading {
    display: none;
    text-align: center;
    margin: 20px 0;
    color: #6c757d;
}

.ai-helper-result {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-top: 20px;
    border-left: 3px solid #4a6baf;
    cursor: pointer;
}

/* Style for improve buttons in forms */
.ai-improve-button .btn {
    white-space: nowrap;
}