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

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Layout */
.app {
    display: flex;
    height: 100vh;
}

/* ================= SIDEBAR ================= */
.sidebar {
    width: 240px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    color: white;
    padding: 20px;
}

/* Sidebar Title */
.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

/* Sidebar Buttons */
.sidebar button {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(45deg, #ff6a00, #ee0979);
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar button:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #36d1dc, #5b86e5);
}

/* ================= MAIN ================= */
.main {
    flex: 1;
    padding: 30px;
}

/* Section Card */
.section {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.2);
    color: #2d3436;
}

.section.active {
    display: block;
}

/* ================= HEADINGS ================= */
h2 {
    font-weight: 600;
    margin-bottom: 15px;

    /* Gradient Text */
    background: linear-gradient(45deg, #ff6a00, #ee0979);
    -webkit-background-clip: text;
    color: transparent;
}

/* ================= INPUTS ================= */
textarea, input, select {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #f1f2f6;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

textarea:focus, input:focus, select:focus {
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.8);
}

/* ================= BUTTON ================= */
button {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(45deg, #36d1dc, #5b86e5);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #ff512f, #dd2476);
}

/* ================= OUTPUT BOX ================= */
#outputText {
    background: #ecf0f1;
    font-weight: 500;
}

/* ================= SCROLL FIX ================= */
textarea {
    min-height: 100px;
    resize: none;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
    .app {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    .sidebar h2 {
        display: none;
    }

    .sidebar button {
        flex: 1;
        margin: 5px;
    }
}