﻿#content-wrapper {
    min-height: 600px;
}

body .logo {
    margin-top: 0;
    box-shadow: none;
    width: 300px;
    margin-bottom: 30px;
}

body #login-content {
    background: white;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 600px;
    height: auto;
    transition: opacity 1s;
}

#_btnRegister span {
    font-weight: bold;
}

#new-user-content {
    padding: 25px;
    display: none;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 15px;
    width: 95%;
    background: white;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 500px;
    height: auto;
    transition: opacity 1s;
    opacity: 0;
}

#forget-password-content {
    padding: 25px;
    display: none;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 15px;
    width: 95%;
    background: white;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 500px;
    height: auto;
    transition: opacity 1s;
    opacity: 0;
}

#bu-select-content {
    padding: 25px;
    display: none;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 15px;
    width: 95%;
    background: white;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 500px;
    height: auto;
    transition: opacity 1s;
    opacity: 0;
}

#login-content .material-input {
    padding-bottom: 10px;
    transition: border-bottom-color .5s;
}

#company-logo {
    align-self: center;
    border-radius: 15px;
    padding: 15px;
    background-color: white;
    max-height: 150px;
    max-width: 300px;
}


.dropbtn {
    background-color: #18BC9C;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    .dropbtn:hover, .dropbtn:focus {
        background-color: #2980B9;
    }

.dropdown {
    position: absolute;
    display: inline-block;
    float: right;
    margin-left: -100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 10px 16px;
        text-decoration: none;
        display: block;
    }

.dropdown a:hover {
    background-color: #ddd
}

.show {
    display: block;
}

.custom-lang-btn-group {
    width: 100% !important;
}


    .custom-lang-btn-group .btn:hover,
    .custom-lang-btn-group .btn:focus,
    .custom-lang-btn-group .btn.active {
        background-color: #18BC9C !important;
        color: #fff !important;
        border-color: #18BC9C !important;
    }

    .custom-lang-btn-group .btn {
        width: 25%;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-lang-btn-group img {
        margin-right: 6px;
        vertical-align: middle;
    }

.link-row .big-link {
    margin-right: 8px;
    font-size: 15px;
}

.region-select-container {
    max-width: 400px;
    margin: 60px auto 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,174,188,0.10);
    padding: 32px 24px 40px 24px;
    text-align: center;
}

.region-title {
    margin-bottom: 18px;
    color: #00aebc;
    font-weight: 600;
}

.region-select-wrapper {
    margin-bottom: 32px;
}

.custom-country-select {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.selected-country {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #00aebc;
    border-radius: 8px;
    padding: 12px 18px;
    background: #f8f9fa;
    cursor: pointer;
    min-height: 48px;
    transition: border-color 0.2s;
}

    .selected-country:focus {
        border-color: #007b8a;
        outline: none;
    }

.country-flag {
    width: 24px;
    height: 18px;
    margin-right: 12px;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.dropdown-arrow {
    margin-left: 12px;
    color: #00aebc;
    font-size: 1.2em;
}

.country-options {
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #00aebc;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 32px rgba(0,174,188,0.10);
    z-index: 999;
    max-height: 260px;
    overflow-y: auto;
    margin-top: 2px;
}

.country-option {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.15s;
}

    .country-option:hover {
        background: #e6f7fa;
    }

/* Mobile: stack or 2-per-row */
@media (max-width: 600px) {
    #divLanguages {
        flex-wrap: wrap;
        gap: 8px;
    }

        #divLanguages .btn {
            flex: 1 1 45%;
            min-width: 0;
            margin: 0;
            font-size: 1rem;
            padding: 10px 0;
        }
}