.container{
    max-width:1400px;
    margin:auto;
    padding:20px;
}

/* HERO SECTION */

.hero-section{
    text-align:center;
    padding:40px 25px;
    border-radius:20px;
    margin-bottom:30px;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    box-shadow:0 10px 30px rgb(225 188 204 / 76%);
}

.hero-section h1{
     font-size: 45px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 10px;
}

.hero-section p{
    color:#fff;
    max-width:800px;
    margin:auto;
    line-height:1.7;
    font-size:16px;
    opacity:.95;
}

/* CONVERTER SECTION */

.converter-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:25px;
}

/* CARDS */

.editor-card,
.example-card{
    background:#f9f9f9 !important;
    border:1px solid #f3c6cf !important;
    border-radius:20px;
    padding:20px;
    box-shadow:0 10px 30px rgb(225 188 204 / 76%);
    transition:.3s;
}

.editor-card:hover,
.example-card:hover{
    transform:translateY(-2px);
}

/* CARD HEADER */

.card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
    gap:10px;
}

.card-header h3{
    margin:0;
    color:#333;
    font-size:22px;
    font-weight:700;
}

/* TEXTAREA */

textarea{
    width:100%;
    height:420px;
    border:2px solid #ff8ba3 !important;
    border-radius:14px !important;
    padding:15px;
    resize:vertical;
    outline:none;
    font-size:14px;
    line-height:1.7;
    font-family:Consolas, monospace;
    transition:.3s;
    background:#fff;
}

textarea:focus{
    box-shadow:0 0 0 4px rgba(251,14,118,.12);
}

#xmlOutput{
    background:#fffdfd;
}

/* BUTTONS */

.upload-btn,
.small-btn{
    border:none;
    cursor:pointer;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    padding:10px 18px;
    border-radius:10px !important;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%) !important;
    transition:.3s;
}

.upload-btn:hover,
.small-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 30px rgb(225 188 204 / 76%);
}

/* ACTION BUTTONS */

.action-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.action-buttons button{
    flex:1;
    min-width:220px;
    border:none;
    cursor:pointer;
    color:#fff;
    font-size:15px;
    font-weight:700;
    padding:15px;
    border-radius:14px;
    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%) !important;
    transition:.3s;
}

.action-buttons button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 30px rgb(225 188 204 / 76%);
}

/* ERROR BOX */

.error-box{
    display:none;
    background:#fff0f3;
    border:1px solid #ff8ba3;
    color:#d6336c;
    padding:15px;
    border-radius:14px;
    margin-bottom:25px;
    font-weight:600;
    box-shadow:0 10px 30px rgb(225 188 204 / 40%);
}

/* EXAMPLE CARD */

.example-card{
    margin-top:10px;
}

.example-card h2{
    color:#333;
    font-size:24px;
    margin-bottom:15px;
}

.example-card pre{
    background:#fff;
    border:2px solid #ffdde5;
    border-radius:12px;
    padding:15px;
    overflow-x:auto;
    line-height:1.7;
    font-size:14px;
    margin-bottom:20px;
    font-family:Consolas, monospace;
}

/* RESPONSIVE */

@media(max-width:992px){

    .converter-section{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .hero-section h1{
        font-size:32px;
    }

    .card-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .action-buttons{
        flex-direction:column;
    }

    .action-buttons button{
        width:100%;
    }

    textarea{
        height:320px;
    }

}

@media(max-width:480px){

    .container{
        padding:15px;
    }

    .hero-section{
        padding:30px 20px;
    }

    .hero-section h1{
        font-size:28px;
    }

    .hero-section p{
        font-size:14px;
    }

    textarea{
        height:260px;
        font-size:13px;
    }

    .card-header h3{
        font-size:20px;
    }

    .example-card h2{
        font-size:20px;
    }

}