.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===========================
HEADER
=========================== */

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 35px 25px;
    border-radius: 20px;
    background: linear-gradient(219deg, #FB0E76 0%, #910694 100%);
}

.title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white !important;
}

.subtitle {
    color: rgba(255, 255, 255, .95);
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    font-size: 16px;
}

/* ===========================
CARDS
=========================== */

.cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width:768px) {

    .cards-container {
        grid-template-columns: 1fr;
    }

}

.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;
}

.card:hover {
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.card-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #910694;
}

.card-body {
    padding: 0;
}

/* ===========================
TEXTAREA
=========================== */

.xml-textarea,
.xml-output {

    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #f755f5 !important;
    border-radius: 12px !important;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: .3s;
    font-family: inherit;
    background: #fff;
    color: #333;

}

.xml-textarea:focus {

    border-color: #FB0E76 !important;
    box-shadow: 0 0 0 5px rgba(251, 14, 118, .12);

}

.xml-textarea::placeholder {

    color: #888;

}

.xml-output {

    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;

}

.placeholder-text {

    color: #999;

}

/* ===========================
UPLOAD
=========================== */

.upload-section {

    margin-top: 15px;

}

.upload-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 28px !important;

    border: none;
    border-radius: 25px !important;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    transition: .3s;

    color: white;

    background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;

}

.upload-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 28px rgba(251,14,118,.35);

}

.upload-btn input {

    display: none;

}

/* ===========================
COPY BUTTON
=========================== */

.copy-btn {

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 20px;

    border: none;
    border-radius: 25px;

    font-size: .95rem;
    font-weight: 600;

    cursor: pointer;

    transition: .3s;

    color: white;

    background: linear-gradient(219deg,#FB0E76 0%,#910694 100%);

}

.copy-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(251,14,118,.35);

}

.copy-btn.copied {

    background: #16a34a !important;

}

/* ===========================
BOTTOM BUTTONS
=========================== */

.actions-container {

    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;

}

.action-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 28px !important;

    border: none;
    border-radius: 25px !important;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    transition: .3s;

    color: white;

    background: linear-gradient(219deg,#FB0E76 0%,#910694 100%) !important;

}

.action-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 28px rgba(251,14,118,.35);

}

.download-btn:disabled {

    opacity: .6;
    cursor: not-allowed;

}

/* ===========================
TOAST
=========================== */

.toast {

    position: fixed;
    bottom: 24px;
    left: 50%;

    transform: translateX(-50%) translateY(100px);

    background: #222;
    color: white;

    padding: 12px 24px;

    border-radius: 10px;

    opacity: 0;

    transition: .3s;

    pointer-events: none;

}

.toast.show {

    opacity: 1;
    transform: translateX(-50%) translateY(0);

}

/* ===========================
SCROLLBAR
=========================== */

.xml-textarea::-webkit-scrollbar,
.xml-output::-webkit-scrollbar {

    width: 8px;

}

.xml-textarea::-webkit-scrollbar-track,
.xml-output::-webkit-scrollbar-track {

    background: #f3f3f3;

}

.xml-textarea::-webkit-scrollbar-thumb,
.xml-output::-webkit-scrollbar-thumb {

    background: #d66bb8;
    border-radius: 20px;

}

.xml-textarea::-webkit-scrollbar-thumb:hover,
.xml-output::-webkit-scrollbar-thumb:hover {

    background: #FB0E76;

}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:768px){

    .title{

        font-size:2rem !important;

    }

    .card-header{

        flex-direction:column;
        align-items:flex-start;
        gap:12px;

    }

    .copy-btn{

        width:100%;
        justify-content:center;

    }

    .action-btn,
    .upload-btn{

        width:100%;

    }

}