/* Facebook Font Generator Styles */
.facebook-font-generator {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-bottom: 40px;
}

.tool-hero {
    background: linear-gradient(135deg, #1877f2 0%, #0a54b3 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.tool-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tool-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.tool-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.tool-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.input-section, .output-section {
    padding: 25px;
}

.tool-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #1877f2;
}

.tool-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e4e6eb;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s;
}

.tool-textarea:focus {
    border-color: #1877f2;
    outline: none;
}

.controls {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn-primary, .btn-secondary, .btn-copy-all {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #1877f2;
    color: white;
}

.btn-primary:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #e4e6eb;
    color: #333;
}

.btn-secondary:hover {
    background-color: #d8dadf;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e6eb;
}

.output-header h3 {
    color: #1877f2;
    font-size: 1.3rem;
}

.btn-copy-all {
    background-color: #42b72a;
    color: white;
}

.btn-copy-all:hover {
    background-color: #36a420;
}

.font-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.font-style {
    background: #f0f2f5;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e4e6eb;
}

.font-style:hover {
    background: #e4e6eb;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.font-style-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1877f2;
}

.font-style-preview {
    font-size: 1.2rem;
    word-break: break-word;
}

.tool-info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box h2 {
    color: #1877f2;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.steps-list, .benefits-list, .tips-list {
    padding-left: 20px;
}

.steps-list li, .benefits-list li, .tips-list li {
    margin-bottom: 8px;
}

.font-examples {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.font-example {
    background: #f0f2f5;
    padding: 15px;
    border-radius: 8px;
}

.font-example h4 {
    margin-top: 0;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .font-results {
        grid-template-columns: 1fr;
    }
    
    .controls {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .tool-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .input-section, .output-section {
        padding: 15px;
    }
    
    .font-examples {
        grid-template-columns: 1fr;
    }
}