m19921414377's picture
Upload folder using huggingface_hub
6db48b4 verified
/* Hero Section */
.hero-section {
text-align: center;
margin-bottom: 50px;
padding: 30px 0;
animation: fadeIn 0.6s ease-out;
}
.hero-content {
margin-bottom: 36px;
}
.brand-pill {
display: inline-block;
padding: 6px 16px;
background: rgba(255, 36, 66, 0.08);
color: var(--primary);
border-radius: 100px;
font-size: 13px;
font-weight: 600;
margin-bottom: 20px;
letter-spacing: 0.5px;
}
/* Composer Style Input Area */
.composer-container {
background: white;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
padding: 20px;
max-width: 720px;
margin: 0 auto 40px;
display: flex;
flex-direction: column;
gap: 12px;
border: 1px solid var(--border-color);
transition: all 0.3s ease;
}
.composer-container:focus-within {
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
border-color: var(--primary);
}
.composer-input-wrapper {
position: relative;
display: flex;
align-items: flex-start;
gap: 12px;
}
.search-icon-static {
padding-top: 8px;
color: #999;
flex-shrink: 0;
}
.composer-textarea {
flex: 1;
border: none;
outline: none;
font-size: 16px;
line-height: 1.6;
resize: none;
padding: 8px 0;
font-family: inherit;
min-height: 56px;
max-height: 300px;
color: var(--text-main);
background: transparent;
}
.composer-textarea::placeholder {
color: var(--text-placeholder);
}
.composer-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 16px;
border-top: 1px solid #f0f0f0;
}
.toolbar-left {
display: flex;
gap: 16px;
}
.tool-btn {
width: 40px;
height: 40px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #666;
background: #f9f9f9;
transition: all 0.2s;
position: relative;
border: none;
}
.tool-btn:hover {
background: #f0f0f0;
color: var(--text-main);
}
.tool-btn.active {
color: var(--primary);
background: rgba(255, 36, 66, 0.08);
}
.badge-count {
position: absolute;
top: -6px;
right: -6px;
background: var(--primary);
color: white;
font-size: 11px;
min-width: 18px;
height: 18px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
border: 2px solid white;
}
.generate-btn {
padding: 10px 32px;
height: 44px;
font-size: 15px;
border-radius: 22px;
background: var(--primary);
color: white;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 8px;
}
.generate-btn:hover {
background: var(--primary-hover);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(255, 36, 66, 0.2);
}
.generate-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.uploaded-images-preview {
display: flex;
flex-wrap: wrap;
gap: 12px;
padding: 12px;
background: #fafafa;
border-radius: 12px;
align-items: center;
border: 1px dashed #eee;
margin-bottom: 8px;
}
/* Scenario Cards */
.scenarios-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 16px;
margin-bottom: 40px;
}
.scenario-card {
background: white;
border-radius: 16px;
padding: 20px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
border: 1px solid transparent;
box-shadow: var(--shadow-sm);
}
.scenario-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
border-color: var(--primary-light);
}
.scenario-icon-box {
width: 56px;
height: 56px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 16px;
transition: all 0.3s ease;
}
.scenario-icon-box svg {
width: 28px;
height: 28px;
transition: transform 0.3s ease;
}
.scenario-card:hover .scenario-icon-box svg {
transform: scale(1.1);
}
/* Color Variants */
.scenario-icon-box.soft-red { background: #FFF0F0; color: #FF4D4F; }
.scenario-icon-box.soft-pink { background: #FFF0F6; color: #EB2F96; }
.scenario-icon-box.soft-orange { background: #FFF7E6; color: #FA8C16; }
.scenario-icon-box.soft-green { background: #F6FFED; color: #52C41A; }
.scenario-icon-box.soft-blue { background: #E6F7FF; color: #1890FF; }
.scenario-icon-box.soft-purple { background: #F9F0FF; color: #722ED1; }
.scenario-title {
font-weight: 600;
font-size: 15px;
color: var(--text-main);
margin-bottom: 6px;
}
.scenario-desc {
font-size: 12px;
color: var(--text-sub);
}
/* Dashboard Grid */
.dashboard-grid {
display: grid;
grid-template-columns: 1.8fr 1fr; /* Adjusted balance: Left wider, Right narrow but sufficient */
gap: 24px;
animation: slideUp 0.6s ease-out 0.2s backwards;
}
.feature-card {
height: 100%;
min-height: 280px;
display: flex;
flex-direction: column;
padding: 24px;
}
.card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.header-left {
display: flex;
align-items: center;
gap: 12px;
}
.section-title-sm {
font-size: 16px;
font-weight: 700;
margin: 0;
}
.icon-box {
width: 36px;
height: 36px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: white;
}
.icon-box.purple {
background: linear-gradient(135deg, #9F7AEA 0%, #805AD5 100%);
box-shadow: 0 4px 12px rgba(128, 90, 213, 0.2);
}
.icon-box.orange {
background: linear-gradient(135deg, #F6AD55 0%, #ED8936 100%);
box-shadow: 0 4px 12px rgba(237, 137, 54, 0.2);
}
.btn-text {
background: none;
border: none;
color: var(--text-sub);
font-size: 13px;
cursor: pointer;
}
.btn-text:hover { color: var(--primary); }
/* Recent List Refined */
.recent-list {
display: flex;
flex-direction: column;
gap: 12px; /* Added gap for separated items */
}
.recent-item {
display: flex;
align-items: center;
gap: 16px;
padding: 16px 20px;
border-radius: 12px; /* Rounded corners */
background: #F9FAFB; /* Slight grey background by default */
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid transparent;
}
.recent-item:hover {
background: white;
border-color: var(--border-color);
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
transform: translateY(-1px);
}
.recent-icon {
width: 44px;
height: 44px;
background: white;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: #666;
flex-shrink: 0;
border: 1px solid rgba(0,0,0,0.04);
transition: all 0.2s;
}
.recent-item:hover .recent-icon {
color: var(--primary);
border-color: rgba(255, 36, 66, 0.2);
background: #FFF0F2;
}
.recent-info {
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 0; /* Crucial for text-overflow in flex/grid */
}
.recent-title {
font-size: 15px;
font-weight: 600;
color: var(--text-main);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 4px;
}
.recent-date {
font-size: 12px;
color: var(--text-sub);
}
.recent-arrow {
color: var(--text-placeholder);
font-size: 18px;
opacity: 0; /* Hide by default */
transition: all 0.2s;
transform: translateX(-10px);
}
.recent-item:hover .recent-arrow {
opacity: 1;
transform: translateX(0);
color: var(--primary);
}
/* Trend List Refined */
.trend-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.trend-item {
display: flex;
align-items: center;
padding: 10px 12px;
cursor: pointer;
transition: all 0.2s;
border-radius: 8px;
}
.trend-item:hover {
background: #F9FAFB;
}
.trend-rank {
width: 24px;
text-align: center;
font-weight: 800;
font-size: 16px;
margin-right: 12px;
color: var(--text-placeholder);
font-style: italic;
font-family: 'Inter', monospace;
}
.trend-rank.rank-1 { color: #FF2442; }
.trend-rank.rank-2 { color: #FF6B81; }
.trend-rank.rank-3 { color: #FF9CA8; }
.trend-name {
font-weight: 500;
color: var(--text-main);
flex: 1;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.trend-hot {
font-size: 12px;
color: var(--text-sub);
display: flex;
align-items: center;
margin-left: 8px;
}
/* Empty State */
.empty-state-mini {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-placeholder);
font-size: 14px;
background: #FAFAFA;
border-radius: 12px;
border: 1px dashed #eee;
min-height: 120px;
}
/* Responsive */
@media (max-width: 900px) {
.dashboard-grid {
grid-template-columns: 1fr;
}
.scenarios-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}