100 lines
1.7 KiB
SCSS
100 lines
1.7 KiB
SCSS
.ai-search-container {
|
|
display: inline-block;
|
|
position: relative;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.ai-search-button {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
border: none;
|
|
color: white;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
transition: all 0.3s;
|
|
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
|
|
|
|
&:hover:not(:disabled) {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.ai-insights-panel {
|
|
position: absolute;
|
|
top: 50px;
|
|
right: 0;
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
min-width: 400px;
|
|
max-width: 500px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
z-index: 1000;
|
|
|
|
.ai-insights-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 2px solid #667eea;
|
|
|
|
h3 {
|
|
margin: 0;
|
|
color: #667eea;
|
|
font-size: 16px;
|
|
}
|
|
|
|
button {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
color: #999;
|
|
&:hover { color: #333; }
|
|
}
|
|
}
|
|
|
|
.ai-insights-content {
|
|
color: #333;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
|
|
p {
|
|
margin: 0 0 15px 0;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.ai-recommendations {
|
|
background: #f8f9fa;
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
margin-top: 10px;
|
|
|
|
strong {
|
|
color: #667eea;
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding-left: 20px;
|
|
|
|
li {
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|