.ai-hair-tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.upload-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.recommendation-form {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #0052a3;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hairstyle-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.hairstyle-card:hover {
    transform: translateY(-5px);
}

.hairstyle-card h3 {
    margin-top: 0;
    color: #0066cc;
}

.rating-section {
    margin: 15px 0;
}

.rating-section button {
    background: none;
    border: none;
    color: #ddd;
    cursor: pointer;
    font-size: 20px;
    padding: 0 5px;
}

.rating-section button:hover,
.rating-section button.active {
    color: #ffd700;
}

.try-on-btn {
    background: #28a745;
    margin-top: 10px;
}

.try-on-btn:hover {
    background: #218838;
}

#result-container {
    margin-top: 20px;
    padding: 15px;
    background: #e9f7ef;
    border-radius: 4px;
}