@import url("//fonts.googleapis.com/css?family=Montserrat:400,700");

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #414142;
    font: 12pt "Montserrat", sans-serif;
    -webkit-print-color-adjust: exact !important;
}

/* 
 * Always set the map height explicitly to define the size of the div element
 * that contains the map. 
 */
#map {
  height: 100%;
}

/* 
 * Optional: Makes the sample page fill the window. 
 */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#map {
  pointer-events: none;
}
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.page-container {
    width: 210mm;
    min-height: 297mm;
    padding: 0mm;
    margin: 10mm auto;
    border: 1px #d3d3d3 solid;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.page-inner {
    padding: 0;
    height: 297mm;
    padding: 10mm;
}



@page {
    size: A4;
    margin: 0;
}

@media print {
    html,
    body {
        width: 210mm;
        height: 270mm;
    }

    .page-container {
        margin: 0;
        border: initial;
        border-radius: initial;
        width: initial;
        min-height: initial;
        box-shadow: initial;
        background: initial;
        page-break-after: always;
    }
}

.controls-container {
    color: #414142;
    background: #f1f1f2;
    padding: 5px;
    border: 1px solid #d1d3d4;
    border-radius: 2px;
    position: fixed;
    top: 50px;
    left: 10px;
    font-size: 12px;
}

.controls-container button {
    background-color: #333333;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    margin-bottom: 5px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

    .controls-container button:hover {
        background-color: #4caf50;
    }

/* Yükleniyor Animasyonu */
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: #007bff;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#loadingOverlay p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}