* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    min-height: 100vh;
    color: #1e293b;
    padding: 30px 15px;
}
.editor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {

    .editor-grid {
        grid-template-columns: 1fr;
    }

}
.container {
    width: 90%;
    max-width: 1600px;
    margin: auto;
}

.hero {
    text-align: center;
    margin-bottom: 35px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    color: #475569;
    max-width: 1000px;
    margin: auto;
    line-height: 1.6;
}

.converter-box {
    background: #ffffff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.field {
    margin-bottom: 25px;
}

.field label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #334155;
}

textarea {
    width: 100%;
    height: 350px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    font-size: 20px;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    background: #f8fafc;
}

textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

#outputText {
    color: #047857;
    font-weight: 600;
    background: #f0fdf4;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

button {
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

#copyBtn {
    background: #2563eb;
    color: white;
}

#copyBtn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

#clearBtn {
    background: #e2e8f0;
    color: #1e293b;
}

#clearBtn:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
}

footer {
    text-align: center;
    margin-top: 25px;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .converter-box {
        padding: 20px;
    }

    textarea {
        min-height: 150px;
        font-size: 18px;
    }

    button {
        width: 100%;
    }
}
.github-btn {
    background: #111827;
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.github-btn:hover {
    background: #000000;
    transform: translateY(-2px);
}
