/* Font Generator Plugin Styles */
.font-generator-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.font-generator-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #6b5b95 0%, #8e44ad 100%);
    color: white;
    border-radius: 10px;
}

.font-generator-header h2 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    font-weight: 300;
}

.font-generator-header p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.font-generator-input-section {
    margin-bottom: 30px;
    text-align: center;
}

.font-generator-input-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

#font-input-text {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    font-size: 1.1em;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

#font-input-text:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.font-generator-results {
    margin-bottom: 30px;
}

.font-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.font-preview-item:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
    background: linear-gradient(145deg, #ffffff 0%, #f0f2ff 100%);
}

.font-preview-text {
    flex: 1;
    margin-right: 20px;
    font-size: 1.6em;
    color: #2c3e50;
    word-break: break-word;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.font-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    text-align: center;
}

.font-name {
    font-size: 0.9em;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 4px;
}

.font-category {
    font-size: 0.75em;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.font-style {
    font-size: 0.7em;
    color: #95a5a6;
    background: #f8f9fa;
    padding: 1px 6px;
    border-radius: 8px;
    font-style: italic;
}

.font-copy-btn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s ease;
    min-width: 80px;
}

.font-copy-btn:hover {
    background: #5a6fd8;
}

.font-copy-btn:active {
    transform: scale(0.98);
}

.font-generator-load-more {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    padding: 15px 30px;
    background: #764ba2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.load-more-btn:hover {
    background: #6a4190;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.copy-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 10000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-popup.show {
    opacity: 1;
    visibility: visible;
}

.font-loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .font-generator-wrapper {
        margin: 10px;
        padding: 15px;
    }
    
    .font-generator-header h2 {
        font-size: 2em;
    }
    
    .font-preview-item {
        flex-direction: column;
        text-align: center;
    }
    
    .font-preview-text {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 1.2em;
    }
    
    .font-copy-btn {
        width: 100%;
    }
}

/* Google Fonts Loading */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Open+Sans:wght@300;400;600;700&family=Lato:wght@300;400;700&family=Montserrat:wght@300;400;600;700&family=Roboto+Condensed:wght@300;400;700&family=Source+Sans+Pro:wght@300;400;600;700&family=Oswald:wght@300;400;600;700&family=Roboto+Slab:wght@300;400;700&family=Raleway:wght@300;400;600;700&family=Poppins:wght@300;400;600;700&family=Merriweather:wght@300;400;700&family=PT+Sans:wght@400;700&family=Nunito:wght@300;400;600;700&family=Playfair+Display:wght@400;700&family=Ubuntu:wght@300;400;700&family=Rubik:wght@300;400;600;700&family=Work+Sans:wght@300;400;600;700&family=Fira+Sans:wght@300;400;600;700&family=Noto+Sans:wght@300;400;600;700&family=Crimson+Text:wght@400;600;700&family=Dancing+Script:wght@400;700&family=Lobster&family=Anton&family=Fjalla+One&family=Abril+Fatface&family=Pacifico&family=Bebas+Neue&family=Quicksand:wght@300;400;600;700&family=Titillium+Web:wght@300;400;600;700&family=Karla:wght@300;400;600;700&family=PT+Serif:wght@400;700&family=Libre+Baskerville:wght@400;700&family=Cabin:wght@400;600;700&family=Dosis:wght@300;400;600;700&family=Bitter:wght@400;700&family=Yanone+Kaffeesatz:wght@300;400;700&family=Oxygen:wght@300;400;700&family=Libre+Franklin:wght@300;400;600;700&family=Shadows+Into+Light&family=Indie+Flower&family=Amatic+SC:wght@400;700&family=EB+Garamond:wght@400;600;700&family=Cormorant+Garamond:wght@300;400;600;700&family=Exo+2:wght@300;400;600;700&family=Archivo+Narrow:wght@400;600;700&family=Vollkorn:wght@400;600;700&family=Alegreya:wght@400;700&family=Inconsolata:wght@300;400;700');