﻿body {
    margin: 0;
    padding: 0;
}

main {
    background: url('../images/giris-home/loginscreenbg.jpg');
    background-size: cover;
    width: 100dvw;
    height: 100dvh;
    padding: 135px;
}

.login-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 726px;
    height: 596px;
    border-bottom: 10px solid #4C6889;
    background-color: #fff;
    opacity: 1;
    margin: auto;
    padding:15px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 8px 0px rgb(206 206 206);
    -moz-box-shadow: 0px 0px 8px 0px rgb(206 206 206);
    box-shadow: 0px 0px 8px 0px rgb(206 206 206);
}

/*Top Part*/

.login-box-top {
    margin: auto;
    width: min-content;
    margin-top: 65px;
    height: 66px;
    margin-bottom: 30px;
}

    .login-box-top img {
        width: 296px;
        height: auto;
    }

.horizontal-line {
    height: 1px;
    background-color: #f2f2f2;
    width: 100%;
}

/*Middle Part*/

.login-box-middle {
    color: #525252;
    text-align: center;
    margin-top: 45px;
}

.login-box-middle-choice {
    font-size: 24px;
    font-weight:400;
}

.login-box-middle-chosen {
    font-size: 16px;
    font-weight: 300;
    margin-top: 14px;
    margin-bottom: 40px;
}

.chosen-country {
    color: #4B6C88;
    font-weight: 500;
}

/*Buttons Part*/

.login-box-button-wrapper {
    margin: auto;
    text-align: center;
}

    .login-box-button-wrapper a {
        text-decoration: none;
        max-width: 340px;
        width:100%;
        height: 64px;
        display: inline-block;
    }

        .login-box-button-wrapper a:hover {
            text-decoration: none;
        }

.login-box-edevlet-button {
    position: relative;
    width: 100%;
    height: 64px;
    background: #EB212E;
    color: white;
    border-radius: 10px;
    margin: auto;
    font-size: 19px;
    font-weight: 500;
    padding-top: 14px;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.38);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.38);
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.38);
}

    .login-box-edevlet-button span {
        color: white;
    }

.turkiyegov-logo {
    position: absolute;
    left: 30px;
    top: 8px;
}

.right-arrow {
    position: absolute;
    top: 18px;
    right: 30px;
}

.login-box-azerbaycan-button {
    margin: auto;
    background-color: #4B6C88;
    color: white;
    border-radius: 10px;
    width: 100%;
    height: 64px;
    font-size: 24px;
    padding-top: 12px;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.38);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.38);
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.38);
}

/*Bottom Part*/

.login-box-bottom {
    margin: auto;
    margin-bottom: 30px;
    text-align: center;
}

    .login-box-bottom a {
        display: inline-block;
        font-size: 16px;
        color: #4C6889;
        padding: 10px;
        font-weight: 400;
        margin: auto;
    }

.login-box-bottom-text {
    color: #949494;
    font-size: 16px;
    padding-bottom: 55px;
}

/*Country Dropdown*/
.country-dropdown {
    color: #4B6C88;
    cursor:pointer;
    position:relative;
    display:inline-block;
}
.country-dropdown-button{
    position:relative;
    z-index:300;
}
.country-dropdown-menu {
    display: none; /* Initially hidden */
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: -8px;
    right: -13px;
    z-index: 200;
    text-align: left;
    font-size: 16px;
    width: 220px;
    height: 220px;
    background-color: #fff;
    border: 1px solid #4B6C88;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.38);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.38);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.38);
}
    .country-dropdown-menu.show {
        display: block;
        opacity: 1;
    }
    .country-dropdown-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-left: 36px;
        padding-top: 60px;
    }
    .country-dropdown-menu ul li{
        padding:8px 4px;
    }
        .country-dropdown-menu ul li.active a {
            font-weight: 400;
        }

        .country-dropdown-menu ul li a {
            color: #525252;
            font-weight:300;
        }
        .country-dropdown-menu ul li a:hover {
           text-decoration:none;
           filter: brightness(1.3);
        }
        .country-dropdown-menu ul li span{
            padding-left:10px;
        }
@media (max-width:992px) {
    main{
        padding: 135px 50px;
    }
}

@media (max-width:500px) {
    main {
        padding:15px;
    }
    .login-box-middle-choice {
        font-size: 20px;
    }
}
