/*
Theme Name: Instagram Font Theme
Theme URI: https://yourwebsite.com/
Author: Your Name
Description: Professional Fancy Text Generator with Sidebar.
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* --- Base Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
}

/* --- Header --- */
.main-header {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}

.main-header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Sidebar Menu --- */
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    z-index: 999;
    padding-top: 60px;
}

.sidebar.active {
    left: 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.sidebar a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 16px;
    color: #444;
    display: block;
    transition: 0.2s;
    font-weight: 500;
}

.sidebar a i {
    margin-right: 15px;
    color: #dc2743;
    width: 20px;
    text-align: center;
}

.sidebar a:hover {
    background-color: #f8f9fa;
    color: #dc2743;
    padding-left: 30px;
}

/* Sidebar Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.overlay.active { display: block; }

/* --- Main Tool Container --- */
.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 15px;
}

.tool-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    text-align: center;
}

.input-box {
    width: 100%;
    height: 70px;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid #e1e5eb;
    border-radius: 10px;
    box-sizing: border-box;
    resize: none;
    outline: none;
    font-family: inherit;
    transition: 0.3s;
    background: #fafafa;
}

.input-box:focus {
    border-color: #dc2743;
    background: #fff;
    box-shadow: 0 0 8px rgba(220, 39, 67, 0.1);
}

.arrows {
    font-size: 24px;
    color: #dc2743;
    margin: 20px 0;
    opacity: 0.7;
}

.output-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .output-grid { grid-template-columns: 1fr; }
}

.fancy-box {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 22px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45px;
    transition: 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.fancy-box:hover {
    border-color: #dc2743;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.1);
}

.copy-msg {
    position: absolute;
    right: 15px;
    background: #dc2743;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
    font-weight: 500;
}

/* --- SEO Content Section (How to use) --- */
.content-section {
    background: #fff;
    margin: 40px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    line-height: 1.8;
}

.content-section h2 {
    color: #dc2743;
    margin-top: 0;
    font-size: 24px;
}

.content-section h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.content-section p {
    color: #555;
    font-size: 15px;
}

.step-list {
    padding-left: 20px;
    color: #555;
}

.step-list li {
    margin-bottom: 10px;
}