.horse-avatar-generator {
max-width: 1200px;
margin: 2rem auto;
padding: 1.5rem;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.horse-avatar-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 2rem;
} .horse-avatar-controls {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.horse-avatar-controls h3 {
margin: 0 0 1rem 0;
font-size: 1.5rem;
color: #333;
border-bottom: 2px solid #8B4513;
padding-bottom: 0.5rem;
}
.control-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.control-group label {
font-weight: 600;
color: #555;
font-size: 0.95rem;
}
.horse-control {
padding: 0.75rem;
border: 2px solid #ddd;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.3s ease;
background-color: #fff;
}
.horse-control:hover {
border-color: #8B4513;
}
.horse-control:focus {
outline: none;
border-color: #8B4513;
box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
} .checkbox-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.5rem 0;
}
.checkbox-label {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
padding: 0.5rem;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.checkbox-label:hover {
background-color: #f5f5f5;
}
.checkbox-label input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
accent-color: #8B4513;
} .control-buttons {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.button {
padding: 0.75rem 1.5rem;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.button-primary {
background: #8B4513;
color: #ffffff;
}
.button-primary:hover {
background: #6B3410;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}
.button-secondary {
background: #f0f0f0;
color: #333;
border: 2px solid #ddd;
}
.button-secondary:hover {
background: #e0e0e0;
border-color: #8B4513;
transform: translateY(-2px);
}
.button:active {
transform: translateY(0);
} .horse-avatar-preview {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
border-radius: 12px;
padding: 2rem;
min-height: 400px;
}
#avatar-preview-container {
max-width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#horse-avatar-svg {
max-width: 100%;
height: auto;
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
border-radius: 8px;
background: transparent;
} @media (max-width: 968px) {
.horse-avatar-container {
grid-template-columns: 1fr;
}
.horse-avatar-preview {
order: -1;
min-height: 300px;
}
}
@media (max-width: 640px) {
.horse-avatar-generator {
padding: 1rem;
}
.horse-avatar-container {
padding: 1rem;
gap: 1.5rem;
}
.horse-avatar-controls h3 {
font-size: 1.25rem;
}
.control-buttons {
flex-direction: column;
}
.button {
width: 100%;
}
#horse-avatar-svg {
max-width: 100%;
}
} .horse-avatar-generator.loading {
opacity: 0.6;
pointer-events: none;
} .horse-avatar-preview svg {
transition: opacity 0.3s ease;
} .horse-control:focus-visible,
.button:focus-visible {
outline: 2px solid #8B4513;
outline-offset: 2px;
} .horse-avatar-controls::-webkit-scrollbar {
width: 8px;
}
.horse-avatar-controls::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.horse-avatar-controls::-webkit-scrollbar-thumb {
background: #8B4513;
border-radius: 4px;
}
.horse-avatar-controls::-webkit-scrollbar-thumb:hover {
background: #6B3410;
}