﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    height: 100vh;
    background-color: #f2f2f2;
}

.container {
    display: flex;
    width: 100%;
}

.left {
    flex: 1;
    background-color: #54A5DB; /* посветла плава */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}
 
    .left img.logo-big {
        width: 180px;
        max-width: 80%;
        margin-bottom: 2rem;
        z-index: 2;
    }

    .left h3 {
        font-size: 1.8rem;
        font-weight: bold;
        text-align: center;
        max-width: 600px;
        line-height: 1.3;
        word-break: break-word;
        white-space: normal;
        z-index: 2;
        color: #ffffff;
        text-transform: uppercase;
        text-shadow: 0 0 8px rgba(0,0,0,0.7);
    }

    .left h2 {
        margin-top: 2rem;
        font-size: 1.3rem;
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        z-index: 2;
    }

.language-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    z-index: 2;
    position: relative;
}

    .language-buttons li::marker {
        content: "";
    }

    .language-buttons li a {
        text-decoration: unset;
    }

    .language-buttons li a {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-weight: 200;
        padding: 0.5rem 0.9rem;
        border-radius: 5px;
        cursor: pointer;
        text-transform: uppercase;
        transition: background-color 0.3s ease;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
        font-size: 15px;
        border: 1px solid;
    }

        .language-buttons li a:hover {
            background: rgba(255, 255, 255, 0.6);
            color: #3C8BC6;
            font-weight: 600;
        }

.right {
    flex: 1;
    background-color: #e6f0ff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f0f4f8;
    background-color: #eaf4fb;
    background-color: #dceefc;
    background: linear-gradient(to bottom right, #eaf4fb, #d0e4f2);
    background: linear-gradient(to bottom, #f5fafd, #dceefc);
    background: linear-gradient(to right, #f5fafd, #dceefc);
    background: linear-gradient(to right, #f5fafd, #dceefc);
    /*    background-image: linear-gradient(to right, rgba(84, 165, 219, 0) 0%, rgba(84, 165, 219, 0.1) 50%, rgba(84, 165, 219, 0.2) 60%, rgba(84, 165, 219, 0.3) 100%, #54a5db 100%);
*/
}

.login-box {
    width: 100%;
    max-width: 490px;
    background-color: rgba(242, 244, 248, 0.95);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1.5px solid #d1d5db;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

    .login-box .logo {
        display: block;
        margin: auto;
        width: 90%;
    }

    .login-box h2 {
        text-align: center;
        margin-bottom: 1.5rem;
        color: #1e293b;
        font-size: 1.6rem;
        font-weight: 700;
    }

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

    .form-group svg:first-child {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        fill: #888;
        pointer-events: none;
    }

    .form-group input {
        width: 100%;
        padding: 0.75rem 0.75rem 0.75rem 40px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
    }

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.login-btn, .parent-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
}

.login-btn {
    background-color: #54A5DB;
    color: white;
}

    .login-btn:hover {
        background-color: #3C8BC6; /* Slightly darker blue */
    }

.parent-btn {
    background-color: #e1f0ff;
    color: #3C8BC6;
    text-align: center;
}

    .parent-btn:hover {
        background-color: #d4e8fd;
    }

.text-center {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.news_category {
    padding-left: 10px;
}

.news_link {
    padding-top: 10px;
}

.validation-summary-valid {
    display: none;
    position: relative;
}

.news_category {
    padding-left: 10px;
}

.news_link {
    padding-top: 10px;
}

.validation-summary-errors {    
    padding: 4px 10px 4px 10px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}

.field-validation-error {
    display: inline-block;
}

.validation-summary-errors > ul {
    padding-inline-start: 40px;
}
.account-anchor-tag {
    color: #54A5DB;
    font-weight:600;
    text-decoration:none;
}
@media only screen and (max-width: 980px) {
    .container {
        flex-direction: column;
    }

    .left h3 {
        font-size: 0.9rem;
    }

    .login-box h2 {
        font-size: 1.3rem;
    }

    .left img.logo-big {
        width: 55px;
        display:none;
    }
    .left {
        background-position: center 30%;
    }
        .left::before, .left::after, .circle1, .circle2, .circle3 {
            display:none;
        }
    .language-buttons {
        gap: unset;
        margin-top: 2rem;
        display: flex;
        z-index: 2;
        position: relative;
        justify-content: space-between;
        width: 100%;
        row-gap: 1rem;
        flex-wrap: wrap;
    }

        .language-buttons li a {
            
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: 5px;
            cursor: pointer;
            text-transform: uppercase;
            transition: background-color 0.3s ease;
            box-shadow: 0 0 5px rgba(0,0,0,0.2);
            font-size: unset;
        }


}
.readonly {
    pointer-events: none;
    opacity: 0.6;
}
.password-input {
    flex: 1;
    padding: 6px 30px 6px 6px;
    font-size: 14px;
}

.toggle-password {
    position: absolute;
    right: 6px;
    width: 20px;
    height: 20px;
    fill: #666;
    cursor: pointer;
}

    .toggle-password:hover {
        fill: #000;
    }