
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f7fa;
    margin: 0;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;  /* ALT ALTA */
    align-items: center;     /* ORTADA */
    min-height: 100vh;
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 2rem;
    margin: 1rem 0; /* ALT ALTA aralık */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 90%;
    /*max-width: 900px;*/
    text-align: center;
}


h1 {
    color: #333;
}


.drop-area {
    border: 2px dashed #ccc;
    padding: 2rem;
    margin-top: 1rem;
    border-radius: 10px;
    background-color: #fefefe;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%; 
    box-sizing: border-box; 
}
.drop-area:hover,
.drop-area.highlight {
    background-color: #f1f1f1;
}

button {
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background-color: #0056b3;
}

.xml-display {
    margin-top: 2rem;
    text-align: left;
}

.xml-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-list {
    list-style: none;
    padding: 0;
    /*margin-top: 1rem;*/
    background: #f9f9f9;
    border-radius: 6px;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.file-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
}

.loading {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    gap: 0.5rem;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*body {*/
/*    font-family: 'Segoe UI', sans-serif;*/
/*    background: #f4f7fa;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    display: flex;*/
/*    justify-content: center;*/
    /*align-items: flex-start;*/
/*    min-height: 100vh;*/
/*    display: block;*/
/*}*/

/*.container {*/
/*    flex-direction: column;*/
/*    display: block;*/
/*    justify-content: flex-start;*/
/*    align-items: center;*/
/*    background: #fff;*/
/*    padding: 2rem;*/
/*    margin-top: 3rem;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);*/
/*    width: 90%;*/
/*    max-width: 900px;*/
/*    text-align: center;*/
/*}*/
/*#title-div {*/
/*    text-align: center;*/
/*    font-family: Arial, sans-serif;*/
/*    width: 80%;*/
/*    margin: 20px auto;*/
/*    font-weight: bold;*/
/*    color: blue;*/
/*}*/

/*#drop-area {*/
/*    border: 2px dashed #ccc;*/
/*    padding: 30px;*/
/*    text-align: center;*/
/*    font-family: Arial, sans-serif;*/
/*    width: 80%;*/
/*    margin: 20px auto;*/
/*}*/

/*#drop-area.highlight {*/
/*    border-color: blue;*/
/*}*/

/*.button {*/
/*    padding: 10px 20px;*/
/*    background-color: blue;*/
/*    color: white;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*}*/

/*#xml-display {*/
/*    display: none;*/
/*    width: 80%;*/
/*    max-width: 800px;*/
/*    background: white;*/
/*    padding: 10px;*/
/*    border-radius: 5px;*/
/*    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);*/
/*    overflow: auto;*/
/*    margin: 20px auto;*/
/*    text-align: left;*/
/*    position: relative;*/
/*}*/

/*#xml-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    margin-bottom: 10px;*/
/*}*/

/*#send-button {*/
/*    margin-top: 10px;*/
/*    padding: 8px 15px;*/
/*    background-color: green;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 5px;*/
/*    cursor: pointer;*/
/*    float: right;*/
/*}*/

/*#send-button:hover {*/
/*    background-color: darkgreen;*/
/*}*/

/*#loading {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-family: Arial, sans-serif;*/
/*    animation: spin 2s linear infinite;*/
/*}*/

/*@keyframes spin {*/
/*    0% {*/
/*        transform: rotate(0deg);*/
/*    }*/

/*    100% {*/
/*        transform: rotate(360deg);*/
/*    }*/
/*}*/

/*body {*/
/*    font-family: 'Segoe UI', sans-serif;*/
/*    background: #f4f7fa;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: flex-start;*/
/*    min-height: 100vh;*/
/*}*/

/*.container {*/
/*    background: #fff;*/
/*    padding: 2rem;*/
/*    margin-top: 3rem;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);*/
/*    width: 90%;*/
/*    max-width: 900px;*/
/*    text-align: center;*/
/*}*/

/*h1 {*/
/*    color: #333;*/
/*}*/

/*.drop-area {*/
/*    border: 2px dashed #ccc;*/
/*    padding: 2rem;*/
/*    margin-top: 1rem;*/
/*    border-radius: 10px;*/
/*    background-color: #fefefe;*/
/*    cursor: pointer;*/
/*}*/

/*.drop-area:hover {*/
/*    background-color: #f1f1f1;*/
/*}*/

/*button {*/
/*    margin-top: 1rem;*/
/*    padding: 0.6rem 1.5rem;*/
/*    background-color: #007bff;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 6px;*/
/*    font-size: 1rem;*/
/*    cursor: pointer;*/
/*    transition: background 0.2s;*/
/*}*/

/*button:hover {*/
/*    background-color: #0056b3;*/
/*}*/

/*.xml-display {*/
/*    margin-top: 2rem;*/
/*    text-align: left;*/
/*}*/

/*.xml-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.file-list {*/
/*    list-style: none;*/
/*    padding: 0;*/
/*    margin-top: 1rem;*/
/*    background: #f9f9f9;*/
/*    border-radius: 6px;*/
/*    padding: 1rem;*/
/*    max-height: 300px;*/
/*    overflow-y: auto;*/
/*}*/

/*.file-list li {*/
/*    padding: 0.5rem 0;*/
/*    border-bottom: 1px solid #ddd;*/
/*    font-size: 0.95rem;*/
/*}*/

/*.loading {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    margin-top: 1rem;*/
/*    gap: 0.5rem;*/
/*}*/

/*.spinner {*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    border: 3px solid #ccc;*/
/*    border-top: 3px solid #007bff;*/
/*    border-radius: 50%;*/
/*    animation: spin 1s linear infinite;*/
/*}*/

/*@keyframes spin {*/
/*    to {*/
/*        transform: rotate(360deg);*/
/*    }*/
/*}*/
