/* Styling for the font selector dropdown */
.font-family-select {
    min-width: 200px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
}

.font-preview-container {
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    min-height: 30px;
    text-align: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

/* Fallback styling for browsers that don't support option styling properly */
@supports (-moz-appearance:none) {
    /* Firefox-specific styles */
    .font-family-select {
        background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="14" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l6 5 6-5z" fill="%23666"/></svg>');
        background-position: right 10px top 50%;
        background-repeat: no-repeat;
        padding-right: 30px;
    }
    
    .font-family-select option {
        font-size: 14px;
        padding: 8px;
    }
}

/* Hover and focus styles */
.font-family-select:hover,
.font-family-select:focus {
    border-color: #999;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Font preview animation */
.font-preview-container {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom examples for each font */
.font-option-Arial { font-family: 'Arial', sans-serif; }
.font-option-Roboto { font-family: 'Roboto', sans-serif; }
.font-option-Open-Sans { font-family: 'Open Sans', sans-serif; }
.font-option-Lato { font-family: 'Lato', sans-serif; }
.font-option-Montserrat { font-family: 'Montserrat', sans-serif; }
.font-option-Oswald { font-family: 'Oswald', sans-serif; }
.font-option-Raleway { font-family: 'Raleway', sans-serif; }
.font-option-Playfair-Display { font-family: 'Playfair Display', serif; }
.font-option-Dancing-Script { font-family: 'Dancing Script', cursive; }
.font-option-Pacifico { font-family: 'Pacifico', cursive; }
