/* Quotes & Fancy Text Styles */

.mygoodworld-quotes-text-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.mgw-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

/* Quotes Section */
.mygoodworld-quotes-section {
    margin-bottom: 50px;
}

.mgw-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mgw-quote-item {
    background: var(--quotes-bg, #f8f9fa);
    color: var(--quotes-color, #333);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #c41e3a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.mgw-quote-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mgw-quote-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-style: italic;
}

.mgw-copy-btn {
    background: #c41e3a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.mgw-copy-btn:hover {
    background: #9b1830;
    transform: scale(1.05);
}

.mgw-copy-btn.copied {
    background: #0f7e3e;
}

/* Fancy Text Section */
.mygoodworld-fancy-text-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mgw-fancy-text-generator {
    max-width: 800px;
    margin: 0 auto;
}

.mgw-input-area {
    margin-bottom: 25px;
}

.mgw-input-area label,
.mgw-style-selector label,
.mgw-color-selector label,
.mgw-preview-area label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.mgw-text-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.mgw-text-input:focus {
    outline: none;
    border-color: #c41e3a;
}

/* Style Selector */
.mgw-style-selector {
    margin-bottom: 25px;
}

.mgw-style-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mgw-style-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mgw-style-btn:hover {
    border-color: #c41e3a;
    transform: translateY(-2px);
}

.mgw-style-btn.active {
    background: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
}

/* Size Selector */
.mgw-size-selector {
    margin-bottom: 25px;
}

.mgw-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mgw-size-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
}

.mgw-size-btn:hover {
    border-color: #0073aa;
    transform: translateY(-2px);
}

.mgw-size-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Color Selector */
.mgw-color-selector {
    margin-bottom: 25px;
}

.mgw-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mgw-color-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mgw-color-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mgw-color-btn.active {
    border-color: #333;
    transform: scale(1.15);
}

/* Background Color Selector */
.mgw-bg-color-selector {
    margin-bottom: 25px;
}

.mgw-bg-color-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 300px;
}

.mgw-bg-color-btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mgw-bg-color-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mgw-bg-color-btn.active {
    border-color: #333;
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Preview Area */
.mgw-preview-area {
    margin-bottom: 25px;
}

.mgw-text-preview {
    min-height: 150px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mgw-preview-text {
    font-size: 32px;
    line-height: 1.4;
    word-break: break-word;
}

/* Style Classes */
.mgw-preview-text.style-classic {
    font-family: Georgia, serif;
    font-weight: normal;
}

.mgw-preview-text.style-elegant {
    font-family: 'Times New Roman', serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 1px;
}

.mgw-preview-text.style-bold {
    font-family: Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mgw-preview-text.style-festive {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.mgw-preview-text.style-modern {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.mgw-preview-text.style-script {
    font-family: 'Brush Script MT', cursive;
    font-weight: normal;
    font-style: italic;
}

/* Action Buttons */
.mgw-action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.mgw-action-btn {
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mgw-action-btn:hover {
    background: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mgw-action-btn:active {
    transform: translateY(0);
}

.mgw-action-btn.success {
    background: #0f7e3e;
}

/* Copy Notification */
.mgw-copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #0f7e3e;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mgw-quotes-grid {
        grid-template-columns: 1fr;
    }
    
    .mgw-section-title {
        font-size: 24px;
    }
    
    .mgw-style-options {
        justify-content: center;
    }
    
    .mgw-size-options {
        flex-direction: column;
    }
    
    .mgw-size-btn {
        width: 100%;
        min-width: auto;
    }
    
    .mgw-color-options {
        justify-content: center;
    }
    
    .mgw-bg-color-options {
        grid-template-columns: repeat(5, 1fr);
        max-width: 100%;
    }
    
    .mgw-preview-text {
        font-size: 24px;
    }
    
    .mgw-action-buttons {
        flex-direction: column;
    }
    
    .mgw-action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mygoodworld-fancy-text-section {
        padding: 20px 15px;
    }
    
    .mgw-preview-text {
        font-size: 20px;
    }
    
    .mgw-style-btn {
        flex: 1 1 calc(50% - 5px);
        text-align: center;
    }
    
    .mgw-bg-color-options {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .mgw-bg-color-btn {
        width: 45px;
        height: 45px;
    }
}