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


body {
    font-family: Arial, sans-serif;
    background-color: #121215;
    color: #f1f1f1;
    line-height: 1.6;
    padding: 20px;
}

a {
    color: #9070ed;
}
    a:hover {
        color: #7596e5;
    }

/* Nagłówki */
h1, h2, h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

h1 {
    font-size: 26px;
    color: #ffffff;
}

h2 {
    font-size: 22px;
    color: #fdfdfd;
}

h3 {
    font-size: 18px;
    color: #fdfdfd;
}

div {
   /* background: #1e1e1e;*/
}

.div-zero {
    max-width: 100%;
    margin: 0;
}

.box-shadow {
    margin-bottom: 30px;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

.show-after-draws {
    display: none;
}

/* Układ siatkowy dla większych ekranów */
@media (min-width: 1024px) {
    div {
        max-width: 96%;
        margin: 0 2% 0 2%;
    }
}

.topButtons {
    display: flex;
    justify-content: space-between;
}

.topButtonsChild {
    width: 33%;
    padding: 10px;
    text-align: center;
}

#box-welcome {
    padding: 60px;
    line-height: 2;
}
/* Style dla przycisków */
button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

    button:hover {
        background: #0056b3;
    }

.element-look-at-me {
    border: 4px dashed orangered;
    animation: pulseBorder 1.5s infinite;
}

@keyframes pulseBorder {
    0% {
        border-color: orangered;
    }

    50% {
        border-color: white;
    }

    100% {
        border-color: orangered;
    }
}

/* Ukrycie domyślnego przycisku */
#ClientFileInput {
    display: none;
}

/* Stylizowany przycisk */
.custom-file-label {
    display: grid;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 10px 15px;
    margin: 5px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

    /* Efekt hover */
    .custom-file-label:hover {
        background: #0056b3;
    }

/* Style dla paragrafów */
p {
    text-align: left;
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 14px;
}

/* Style dla canvas */
canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    margin-bottom: 20px;
    background: #1e1e1e;
    border-radius: 5px;
}

td {
    padding-right: 10px;
}

#whispersLastFromList, #whispersLastToList {
    padding: 8px;
    background: #272727;
    border-radius: 5px;
    font-size: 14px;
}

/* Układ dla trade status */
#tradeStatusChart {
    margin-top: 10px;
}

/* Ukryte sekcje */
div[style="display: none"] {
    display: none;
}











#daily-summary, #range-summary {
    max-width: 96%;
    margin: 20px auto;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.summary-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 15px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.summary-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #272727;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.35);
}

.icon {
    font-size: 24px;
    margin-right: 10px;
}

.summary-label {
    font-size: 14px;
}

.summary-value {
    font-size: 18px;
    font-weight: bold;
}

.tooltip {
    position: absolute;
    background-color: rgba(50, 50, 50, 0.95);
    padding: 8px 12px;
    font-weight: 500;
    color: #e0e0e0;
    border-radius: 12px;
    box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.85);
    display: none;
    pointer-events: auto;
}
    .tooltip.show {
        display: block;
    }

.loader {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 3px solid white;
    border-radius: 50%;
    border-top: 3px solid transparent;
    animation: spin 1.8s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

