@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu&display=swap');

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

textarea#paragraphInput {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 20px;
    box-sizing: border-box;
}

button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #125ea8;
}

#downloadBtns {
    margin-top: 20px;
    text-align: center;
}

#worksheetOutput {
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    background-color: #fefefe;
    line-height: 1.6;
    font-family: 'Noto Nastaliq Urdu', cursive;  /* Apply Urdu font */
}


#worksheetOutput h2, 
#worksheetOutput h3 {
    color: #2c3e50;
}

#worksheetOutput input[type="text"],
#worksheetOutput textarea {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    button {
        width: 100%;
        margin-bottom: 10px;
    }

    #downloadBtns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}
