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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #8edcaa;    
    width: 100vw;
    max-width: 1000px;
    max-height: 75vh;
    padding: 10px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.tabheader {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.tablinks {
    background: white;
    border: none;
    padding: 10px 5px;
    border-radius: 8px 8px 0px 0px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 0px;
    flex: 1;
}
.tabcontents {
    background: white;
    width: 100%;
    border-radius: 0px 8px 8px 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

#around_gpx_button {
    background: #8edcaa; 
}

h1 {
    font-size: 1.8em;
    padding-bottom: 8px;
}

#explanation {
	padding-bottom: 10px;
	max-width: 340px;
	margin: 0 auto;
	color: black;
	font-size: 16px;
}

#status {
    margin-top: 5px;
    margin-bottom: -5px;
    color: grey;
    font-size: 12px;
}

.checkbox-container {
    display: flex;
    width: 100%;
    gap: 40px;
}

.flexbox-left, .flexbox-right {
  display: flex;

  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.export-button {
    padding: 5px 20px;
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.export-button:disabled {
    background-color: #ccc;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

input {
    accent-color: #1DB954;
}

#map {
    margin-top: 5px;
    width: 100%;
    flex-grow: 1;
    max-height: 100%;
}

.file_upload_container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#gpx-upload {
    display: none;
}

.custom-file-label {
    padding: 5px 20px;
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.progress-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
}

.progress-ring {
    position: relative;
    width: 100px;
    height: 100px;
}
.progress-ring circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
}
.progress-ring .background {
    stroke: #e0e0e0;
}
.progress-ring .progress {
    stroke: #1DB954;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 0.5s ease;
}