.bio-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trait-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.trait-btn {
    padding: 6px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trait-btn:hover {
    border-color: #2196F3;
}

.trait-btn.active {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.results-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.bio-variations {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.bio-result-item {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.bio-result-item:hover {
    border-color: #2196F3;
}

.bio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.bio-number {
    font-weight: 600;
    color: #333;
}

.bio-length.within-limit {
    color: #4caf50;
}

.bio-length.over-limit {
    color: #f44336;
    font-weight: 600;
}

.bio-style {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.bio-result {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.5;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.bio-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #f0f0f0;
}

.btn-copy:hover {
    background: #e3f2fd;
    border-color: #2196F3;
    color: #2196F3;
}

.btn-edit:hover {
    background: #fff3e0;
    border-color: #ff9800;
    color: #ff9800;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2196F3;
}

.tip-item h4 {
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-item i {
    color: #2196F3;
}

.platform-guides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.platform-guide {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.platform-guide h4 {
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.history-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: white;
    border-color: #2196F3;
    transform: translateY(-1px);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.history-name {
    font-weight: 600;
    color: #333;
}

.history-date {
    font-size: 0.8rem;
    color: #666;
}

.history-preview {
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
    font-style: italic;
}

.history-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
}

.history-type,
.history-platform,
.history-count {
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #555;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tips-grid,
    .platform-guides {
        grid-template-columns: 1fr;
    }
    
    .bio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .bio-actions {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
}
