@font-face {
    font-family: 'Avenir';
    src: url('Assets/AvenirNextCyr-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Avenir';
    src: url('Assets/AvenirNextCyr-Demi.ttf') format('truetype');
    font-weight: 600; /* Demi Bold */
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body,
html {
    font-family: 'Avenir', Arial, sans-serif;
    font-weight: 400; 
    line-height: 125%;
    background: linear-gradient(to bottom, #0A2112, #000000);
    color: white;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 85vw;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow: scroll;
    z-index: 1;
    scrollbar-width: none;
}

.logo-background {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.6;
    max-height: 500px;
    width: auto;
    z-index: 0;
    pointer-events: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.back-icon {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.logo {
    font-size: 36px;
    display: flex;
}

.logo-green {
    color: #65C385;
}
.page-title {
    font-size: 22px;
    font-weight: 600;
    color: #65C385;
    margin-bottom: 20px;
}

.description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 10px;
}
.end {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 50px;
}
.desc-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
.eff-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}


.email-input-container {
    margin-top: 30px;
    width: 100%;
    min-width: 300px;
}

.email-input {
    width: 100%;
    min-width: 300px;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    background-color: white;
    color: black;
}

.email-error {
    color: #DC4646;
    font-size: 12px;
    height: 20px;
}

.delete-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: white;
    background: linear-gradient(to top right, #138A3C, #124925);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

#deleteButton {
    margin-bottom: 50px;

}

.delete-button:hover {
    opacity: 0.9;
}

.dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-content {
    background: linear-gradient(to bottom, #0A2112, #000000);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.dialog-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.dialog-button {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 40%;
}

.dialog-confirm {
    background-color: #138A3C;
    color: white;
    border: none;
}

.dialog-cancel {
    background-color: #DC4646;
    color: white;
    border: none;
}

.all {
    width: 100%;
    position: relative;
}

.side-menu {
    position: fixed;
    padding: 35px;
    top: 0;
    right: -400px; 
    width: 400px;
    max-width: 60%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    transition: right 0.3s ease-in-out; 
    backdrop-filter: blur(5px);
    z-index: 1;
}

.side-menu.open {
    right: 0; 
}

.header-menu {
    display: flex;
    justify-content: end;
    align-items: center;
}

.close-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.menu-content {
    padding: 20px;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content ul li a {
    display: flex;
    align-items: center;
    padding: 10px;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.menu-content img {
    width: 20px;
    height: 20px;
    margin-right: 20px;
}

.menu-content li:hover {
    color: #137D39;
}

.menu-content img:hover {
    color: #137D39;
}


@media (max-width: 500px) {

    .side-menu {
        padding: 10px;
        padding-top: 35px;
        padding-right: 20px;
        top: 0;
        right: -400px; 
        width: 400px;
        max-width: 90%;
    }
    .close-icon {
        width: 20px;
        height: 20px;
    }

    .back-icon {
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .logo {
        font-size: 30px;
        display: flex;
    }

}