﻿
/** {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=greek-ext');

body {*/
/* background-image: url("https://images.pexels.com/photos/891252/pexels-photo-891252.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");*/
/*background-position: center;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    font-family: 'Noto Sans', sans-serif;
  
    -webkit-font-smoothing: antialiased;
}*/
@import url('https://fonts.googleapis.com/css?family=Exo:400,700');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=greek-ext');
@import 'https://fonts.googleapis.com/css?family=Open+Sans:600,700';

* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Noto Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #1e1e1e;
}


/*   background: -webkit-linear-gradient(to left, #00a43b, #206025);  background-image: url("/img/background-image.png");*/
textarea {
    color: #111;
    background: #fff;
    margin: 5px;
    border: 4px solid transparent;
}

app .main textarea.consoleTelegramMail {
    color: #fff;
    background: #111;
    height: 96.5vh;
    width: 97.5%;
    margin: 10px;
    top: initial;
    border: 4px solid transparent;
    justify-content: stretch;
    align-items: stretch;
}

.loading {
    justify-content: center;
    align-items: center;
    display: flex;
    min-height: 100vh;
    background: transparent;
    position: fixed;
    z-index: 444;
    width: 100%;
}
/*pointer-events: none;*/
.container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .container .ring {
        position: relative;
        width: 150px;
        height: 150px;
        margin: -30px;
        border-radius: 50%;
        border: 4px solid transparent;
        border-top: 4px solid #24ecff;
        animation: animate 4s linear infinite;
    }

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.container .ring::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: #24ecff;
    box-shadow: 0 0 0 5px #24ecff33, 0 0 0 10px #24ecff22, 0 0 0 20px #24ecff11, 0 0 20px #24ecff, 0 0 50px #24ecff;
}

.container .ring:nth-child(2) {
    animation: animate2 4s linear infinite;
    animation-delay: -1s;
    border-top: 4px solid transparent;
    border-left: 4px solid #93ff2d;
}

    .container .ring:nth-child(2)::before {
        content: '';
        position: absolute;
        top: initial;
        bottom: 12px;
        left: 12px;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        background: #93ff2d;
        box-shadow: 0 0 0 5px #93ff2d33, 0 0 0 10px #93ff2d22, 0 0 0 20px #93ff2d11, 0 0 20px #93ff2d, 0 0 50px #93ff2d;
    }

@keyframes animate2 {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.container .ring:nth-child(3) {
    animation: animate2 4s linear infinite;
    animation-delay: -3s;
    position: absolute;
    top: -66.66px;
    border-top: 4px solid transparent;
    border-left: 4px solid #e51cf8;
}

    .container .ring:nth-child(3)::before {
        content: '';
        position: absolute;
        top: initial;
        bottom: 12px;
        left: 12px;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        background: #e51cf8;
        box-shadow: 0 0 0 5px #e51cf833, 0 0 0 10px #e51cf822, 0 0 0 20px #e51cf811, 0 0 20px #e51cf8, 0 0 50px #e51cf8;
    }



.container p {
    position: absolute;
    color: #fff;
    font-size: 1.5em;
    font-family: Consolas;
    bottom: -100px;
    letter-spacing: 0.15em;
}




.text-center {
    color: #fff;
    text-transform: uppercase;
    font-size: 23px;
    margin: -50px 0 80px 0;
    display: block;
    text-align: center;
}

.box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(0, 0, 0, 0.73);
    border-radius: 3px;
    padding: 70px 100px;
}

.input-container {
    position: relative;
    margin-bottom: 25px;
}

    .input-container label {
        position: absolute;
        top: 0px;
        left: 0px;
        font-size: 16px;
        color: #fff;
        transition: all 0.5s ease-in-out;
        pointer-events: none;
    }

    .input-container input {
        border: 0;
        border-bottom: 1px solid #555;
        background: transparent;
        width: 100%;
        padding: 8px 0 5px 0;
        font-size: 16px;
        color: #fff;
    }

        .input-container input:focus {
            border: none;
            outline: none;
            border-bottom: 1px solid #e74c3c;
        }

.btn {
    color: #fff;
    background-color: #e74c3c;
    outline: none;
    border: 0;
    color: #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    margin-top: 50px;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}
.btn-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-container input:focus ~ label,
.input-container input:valid ~ label {
    top: -12px;
    font-size: 12px;
}





#particles-js {
    position: fixed;
    top: 0px;
    z-index: -1;
    height: 100vh;
    width: 100%;
  /*  background-image: url("/img/background-image.jpg");*/
}












.mail {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: rgba(0, 0, 0, 0.73);
    border-radius: 3px;
    padding: 70px;
    margin: 20px;
}

p,
h1 {
    color: #eaeaea;
}

.mail p,
.mail h1 {
    color: #eaeaea;
}

.textBlock p,
.textBlock h1 {
    color: #eaeaea;
}

.mail p {
    margin: 3px;
}

.textBlock p {
    margin: 3px;
}

a {
    color: #4ab2f6
}

.textBlock {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: rgba(0, 0, 0, 0.73);
    border-radius: 3px;
    padding: 70px;
    margin: 20px;
}

.MailsViewer * {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
}

.MailsViewer {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 3px;
    padding: 70px;
    margin: 20px;
    background: white;
}

    .MailsViewer .mailContainer > h2 {
        text-align: left;
        font-size: 30px;
        margin: 10px 0px;
    }

    .MailsViewer .mailContainer div h2 {
        text-align: left;
        font-size: 20px;
    }

    .MailsViewer .mailContainer {
        display: flex;
        flex-direction: column;
    }

        .MailsViewer .mailContainer h2 {
            margin-top: 0;
        }

        .MailsViewer .mailContainer .mailInfo {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

            .MailsViewer .mailContainer .mailInfo img {
                margin-right: 10px;
                border-radius: 50%;
            }

            .MailsViewer .mailContainer .mailInfo p {
                margin: 0;
            }

    .MailsViewer .mailContainer {
        display: flex;
        flex-direction: column;
    }

    .MailsViewer iframe {
        margin: 0;
        align-items: center;
        border: none;
        overflow: hidden;
        width: 100%;
        height: 100%;
        flex-grow: 1;
        min-height: 300px;
    }

    .MailsViewer .mailContainer .mailDate {
        margin-top: -20px;
        margin-left: auto;
        font-size: 9px;
    }

    .MailsViewer .mailContainer .mailBody {
        margin-top: 20px;
    }

    .MailsViewer .mailContainer .mailBody {
        word-wrap: break-word;
        order: 3;
        font-family: inherit;
        font-size: inherit;
        color: inherit;
        background: transparent;
        font: small/1.5 Arial, Helvetica, sans-serif;
    }

        .MailsViewer .mailContainer .mailBody a[href] {
            color: #15c;
            text-decoration: underline;
        }

        .MailsViewer .mailContainer .mailBody ::marker {
            unicode-bidi: isolate;
            font-variant-numeric: tabular-nums;
            text-transform: none;
            text-indent: 0px !important;
            text-align: start !important;
            text-align-last: start !important;
        }

        .MailsViewer .mailContainer .mailBody ol {
            display: block;
            list-style-type: decimal;
            margin-block-start: 1em;
            margin-block-end: 1em;
            margin-inline-start: 0px;
            margin-inline-end: 0px;
            padding-inline-start: 40px;
        }

    .MailsViewer .mailContainer .mailBody {
        position: relative;
        flex-grow: 1;
    }

    .MailsViewer .container {
        top: 30px;
    }

#iframeLoading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    margin: 0;
    padding: 0;
    background: #f0f0f0 url("/img/MailBackground.png") repeat top;
    background-attachment: fixed;
    display: flex; /* Використовуємо Flexbox для центрування */
    justify-content: center; /* Центрування по горизонталі */
    align-items: center; /* Центрування по вертикалі */
}

    #iframeLoading > div {
        top: 100px;
    }


.textarea-container-2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

    .textarea-container-2 label {
        margin-bottom: 5px;
        color: white;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 5px;
        border-radius: 4px;
    }

    .textarea-container-2 textarea {
        width: 100%;
        height: 300px;
        position: relative;
        padding: 5px;
       
        box-sizing: border-box;
        background: rgb(0, 0, 0, 0.19);
        border-bottom: 1px solid #555;
        border-left: 1px solid #555;
        border-right: 1px solid #555;
        color: #fff;
        font-size: 1.3em;
        resize: none;
    }
