

/* Przycisk otwierający terminal */
#openTerminal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00ffcc;
    color: #000;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffcc;
    z-index: 999;
}

/* Overlay full screen */
#terminalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(144deg, #000000ad, transparent);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

.hidden {
    display: none;
}

/* Terminal okno */
/*.terminal-window {
    width: 95%;
    height: 90%;
    max-width: 1100px;
    max-height: 95vh;
    background: linear-gradient(165deg, black, #5a0fff57);
     border: 4px solid #1f1a69; 
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 70px #00000099;
    display: flex;
    flex-direction: column;
}*/



.terminal-window {
    width: 95%;
    height: 90%;
    max-width: 1100px;
    max-height: 95vh;
    background: #00054d70;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 70px #00000099;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(3px);
}

/* Header terminala */
/*.terminal-header {
    background: linear-gradient(149deg, #3e32d1, #0000002e);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px;
    font-weight: 400;
}*/

.terminal-header {
    background: linear-gradient(149deg, #030c3b, #0000002e);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px;
    font-weight: 400;
}


span#terminalTitle
{
    font-size: 2rem;
}


.terminal-header button {
    background: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    width: 50px;
    border-radius: 16px;
}

/* Content z przewijaniem */
.terminal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
    background: transparent;
    word-break: break-word;
}

/* Loading animacja */
.loading {
    color: #0ff;
    animation: blink 1s infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .terminal-window {
        /*    width: 100%;
            height: 100%;
            border-radius: 0;*/
        max-height: 100vh;
    }

    .terminal-content {
        padding: 15px;
        font-size: 14px;
    }

    .terminal-header {
        font-size: 16px;
    }
}



