/* Instagram Fonts Generator Styles */
.ig-fonts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.ig-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ig-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.ig-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.ig-tool-section {
    margin-bottom: 40px;
}

.ig-input-container {
    margin-bottom: 30px;
}

.ig-text-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    transition: border 0.3s;
}

.ig-text-input:focus {
    border-color: #833ab4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(131, 58, 180, 0.2);
}

.ig-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.ig-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.ig-copy-btn {
    background-color: #833ab4;
    color: white;
}

.ig-copy-btn:hover {
    background-color: #6a2d95;
    transform: translateY(-2px);
}

.ig-clear-btn {
    background-color: #f5f5f5;
    color: #333;
}

.ig-clear-btn:hover {
    background-color: #e0e0e0;
}

.ig-fonts-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ig-font-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ig-font-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ig-font-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #833ab4;
    font-size: 1.1rem;
}

.ig-font-preview {
    margin-bottom: 15px;
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ddd;
    border-radius: 5px;
    word-break: break-word;
}

.ig-info-section {
    margin-top: 50px;
}

.ig-info-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ig-info-card h2 {
    color: #833ab4;
    margin-top: 0;
    font-size: 1.5rem;
}

.ig-info-card p, .ig-info-card ol, .ig-info-card ul {
    line-height: 1.6;
    color: #555;
}

.ig-faq-item {
    margin-bottom: 20px;
}

.ig-faq-item h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ig-fonts-preview {
        grid-template-columns: 1fr;
    }
    
    .ig-hero h1 {
        font-size: 2rem;
    }
    
    .ig-hero .subtitle {
        font-size: 1rem;
    }
}

/* Success notification */
.ig-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.ig-notification.show {
    opacity: 1;
}