

/* Start:/local/components/hackspace/header/templates/terminal/style.css?177755908337*/
#terminalError {
    margin-top: 0;
}
/* End */


/* Start:/local/components/kit/pdo/templates/banner_terminal/style.css?17801594223247*/
.cookie-terminal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 480px;
    z-index: 10000;
    background: #0f140fcc;
    backdrop-filter: blur(10px);
    border: 1px solid #2a5a2a;
    border-radius: 16px;
    font-family: 'Fira Code', 'Courier New', monospace;
    color: #ccffcc;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6), 0 0 8px rgba(80, 200, 80, 0.3);
    transition: 0.2s ease;
    animation: slideUp 0.4s ease-out;
}

.cookie-terminal:hover {
    border-color: #5f9;
    box-shadow: 0 0 18px rgba(80, 200, 80, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* заголовок терминала */
.cookie-header {
    background: #0a1a0a;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #2a6e2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-radius: 16px 16px 0 0;
}

.cookie-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #5f9;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
}

.cookie-btn-dots {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2a5a2a;
    border: 1px solid #0f0;
}

/* тело баннера */
.cookie-body {
    padding: 1.2rem;
}

.cookie-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: #8f8;
    border-bottom: 1px dashed #2a6e2a;
    padding-bottom: 0.5rem;
}

.prompt-sign {
    font-weight: bold;
}

.cookie-ascii {
    text-align: center;
    margin: 0.8rem 0;
    font-size: 1.2rem;
    line-height: 1.2;
    white-space: pre;
    color: #8f8;
    filter: drop-shadow(0 0 2px #5f9);
}

.cookie-message {
    background: #0a120a;
    padding: 0.8rem;
    border-left: 3px solid #5f9;
    margin: 0.8rem 0;
    font-size: 1.0rem;
}

.cookie-message a {
    color:#8f8;
    text-decoration: unset;
    border-bottom: 1px dashed;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    background: transparent;
    border: 1px solid #5f9;
    color: #5f9;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-family: monospace;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.2s;
}

.cookie-btn:hover {
    background: #2e6e2e;
    color: #000;
    box-shadow: 0 0 6px #5f9;
}

.cookie-btn-decline {
    border-color: #6e2a2a;
    color: #f66;
}

.cookie-btn-decline:hover {
    background: #6e2a2a;
    color: #000;
    box-shadow: 0 0 6px #f66;
}

.blink-cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: #5f9;
    vertical-align: middle;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

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

@media (max-width: 550px) {
    .cookie-terminal {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    .cookie-body {
        padding: 1rem;
    }
    .cookie-ascii {
        font-size: 0.55rem;
    }
}
/* End */


/* Start:/local/templates/terminal/template_styles.css?17801594228866*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0f0b;
    background-image: radial-gradient(circle at 25% 40%, rgba(0, 255, 0, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    font-family: 'Fira Code', 'Courier New', monospace;
    color: #ccffcc;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1;
}

.terminal-header {
    background: #0a120a;
    border: 1px solid #2c6e2c;
    border-radius: 12px 12px 0 0;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.logo__svg {
    width: 64px;
}

.logo h1 {
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    border-left: 2px solid #2e8b57;
    padding-left: 0.7rem;
}

.terminal-prompt {
    background: #0a120a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-family: monospace;
    font-size: 0.85rem;
    width: 100%;
}

.prompt-prefix {
    color: #5f9;
    white-space: nowrap;
}

.external-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: #5f9;
    animation: blink 1s step-end infinite;
    cursor: pointer;
}

.external-cursor:hover {
    background: #8f8;
    box-shadow: 0 0 4px #5f9;
}

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

.cmd-input {
    background: #0a120a;
    border: none;
    color: #ccffcc;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    padding: 0.2rem 0;
    outline: none;
    min-width: 180px;
    width: auto;
    caret-color: #5f9;
}

.cmd-input:focus {
    outline: none;
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}

.term-window {
    background: #0f140fcc;
    backdrop-filter: blur(2px);
    border: 1px solid #2a5a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s ease;
    margin-bottom: 1.2rem;
}

.term-window:hover {
    border-color: #5f9;
    box-shadow: 0 0 12px rgba(80, 200, 80, 0.2);
}

.term-header {
    background: #0a1a0a;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #2a6a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: bold;
}

.term-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.term-buttons {
    display: flex;
    gap: 6px;
}

.term-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2a5a2a;
    border: 1px solid #0f0;
}

.term-body {
    padding: 1rem;
    font-size: 1.1rem;
}

.term-prompt {
    color: #8f8;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.stats-grid-term {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
    margin: 1rem 0;
}

.term-stat-card {
    background: #000000aa;
    border: 1px solid #0f0;
    border-radius: 16px;
    padding: 0.8rem;
    text-align: center;
    min-width: 100px;
    flex: 1;
    cursor: pointer;
    transition: 0.2s;
}

.term-stat-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px #0f0;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
}

.equipment-list-term {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.equip-item-term {
    background: #0a1a0a;
    border: 1px solid #2a6a2a;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    transition: 0.2s;
}

.schedule-item-term, .price-item-term {
    background: #0a0f0a;
    border-left: 3px solid #5f9;
    padding: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    display: block;
    text-decoration: unset;
    color: unset;
}

.contacts-term {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

.social-links-term {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links-term a {
    color: #0f0;
    text-decoration: none;
    border-bottom: 1px dotted #0f0;
    font-size: 1.1rem;
}
.link-privacy {
    font-size: 0.7rem;
    color: #5f9;
    border-bottom: 1px dotted #5f9;
    text-decoration: none;
}

.glitch-btn {
    background: none;
    border: 1px solid #5f9;
    color: #5f9;
    padding: 5px 14px;
    font-family: monospace;
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.2s;
    margin-top: 0.8rem;
}

.glitch-btn:hover {
    background: #2e6e2e;
    color: black;
    box-shadow: 0 0 6px #5f9;
}

.easter-line {
    font-size: 0.7rem;
    margin-top: 0.8rem;
    opacity: 0.6;
    cursor: pointer;
    text-align: center;
}

.easter-line:hover {
    opacity: 1;
    text-shadow: 0 0 3px #5f9;
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    border-top: 1px solid #2a5a2a;
    padding-top: 1rem;
    opacity: 0.7;
}

.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background: repeating-linear-gradient(0deg, rgba(0,255,0,0.1) 0px, rgba(0,0,0,0.4) 2px);
    opacity: 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0a120a;
    border: 2px solid #5f9;
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 350px;
    width: 90%;
    text-align: center;
}

.modal-content input {
    background: #1a2a1a;
    border: 1px solid #2e8b57;
    color: #ccffcc;
    padding: 8px 12px;
    width: 100%;
    margin: 10px 0;
    font-family: monospace;
    border-radius: 20px;
}

.modal-content button {
    background: transparent;
    border: 1px solid #5f9;
    color: #5f9;
    padding: 5px 14px;
    margin: 5px;
    cursor: pointer;
    border-radius: 30px;
}

.error-msg {
    color: #f66;
    font-size: 0.7rem;
    margin-top: 8px;
}

/* Базовые стили текста внутри уведомления */
.custom-alert-content {
    font-size: 14px;
    font-weight: 500;
}

/* Стилизация внешней плашки Битрикса под каждый тип с помощью :has() */
.ui-notification-balloon:has(.alert-danger) {
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
}
.ui-notification-balloon:has(.alert-danger) .custom-alert-content {
    color: #721c24 !important;
}

.ui-notification-balloon:has(.alert-success) {
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
}
.ui-notification-balloon:has(.alert-success) .custom-alert-content {
    color: #155724 !important;
}

.ui-notification-balloon:has(.alert-warning) {
    background-color: #fff3cd !important;
    border: 1px solid #ffeeba !important;
}
.ui-notification-balloon:has(.alert-warning) .custom-alert-content {
    color: #856404 !important;
}


@media (max-width: 768px) {
    .wrapper {
        padding: 0.8rem;
    }

    .terminal-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .ascii-badge {
        font-size: 0.5rem;
    }

    .term-body {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .grid-2col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contacts-term {
        flex-direction: column;
        gap: 1rem;
    }

    .terminal-prompt {
        width: 100%;
    }

    .cmd-input {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {

    .wrapper {
        padding: 0.6rem;
    }

    .logo h1 {
        font-size: 0.90rem;
    }

    .term-stat-card {
        min-width: 80px;
    }

    .terminal-prompt {
        font-size: 0.75rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .equip-item-term {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .schedule-item-term, .price-item-term {
        font-size: 0.7rem;
    }

    .glitch-btn {
        padding: 4px 10px;
        font-size: 0.6rem;
    }

    .term-body {
        font-size: 1.0rem;
    }

    .term-body div {
        font-size: 0.75rem;
    }

    .social-links-term {
        font-size: 0.85rem;
        line-height: 1.1;
    }

    .social-links-term a {
        font-size: 0.80rem;
    }

}
/* End */
/* /local/components/hackspace/header/templates/terminal/style.css?177755908337 */
/* /local/components/kit/pdo/templates/banner_terminal/style.css?17801594223247 */
/* /local/templates/terminal/template_styles.css?17801594228866 */
