﻿body {
    font-size: 10pt;
}

.error {
    color: red;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #555;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px 0;
}

.loader-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.password-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.forgot-link {
    color: #0080dd;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.lang-dropdown-wrapper {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
}

.lang-dropdown {
    padding: 6px 32px 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    line-height: 1.2;
}

.dropdown-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%); 
    font-size: 12px;
    color: #333;
    pointer-events: none;
}

.lang-dropdown:hover {
    border-color: #888;
}

.lang-dropdown:focus {
    border-color: #2a7de1;
    box-shadow: 0 0 0 2px rgba(42, 125, 225, 0.2);
    outline: none;
}

.remember-wrapper {
    display: flex !important;
    align-items: center !important;
    margin-top: 12px !important;
    margin-bottom: 16px !important;
}

.remember-label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.remember-wrapper .remember-label input[type="checkbox"] {
    width: 12px !important;
    height: 12px !important;
    accent-color: #0080dd !important;
    margin: 0 !important;
    cursor: pointer;
}

.inputLine {
    margin-bottom: 16px;
}

.passwordWrapper {
    position: relative;
}

    .passwordWrapper input {
        width: 100%;
    }

.inputLine input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.inputLine label.inline {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #333;
}

.button {
    width: 100%;
    padding: 10px;
    background-color: #0080dd;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .button:hover {
        background-color: #006ac1;
    }

    .button.accent {
        background-color: var(--banner-color, #0080dd);
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: 12px;
        font-weight: 500;
    }

        .button.accent:hover {
            background-color: #006ac1;
        }

    .button.gray {
        background-color: #f3f4f5;
        color: #000;
        border: none;
        border-radius: 6px;
        padding: 12px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .button.gray:hover {
            background-color: #d5d5d5;
            color: #111;
        }


.imageButton {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    position: relative;
    background-color: #fff;
    border: 1px solid #0080dd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

    .imageButton .image {
        height: 20px;
        width: 20px;
        margin-right: 8px;
    }

    .imageButton img {
        width: 20px;
        height: 20px;
    }

    .imageButton .text {
        color: #202020;
        font-size: 14px;
        text-align: center;
    }

    .imageButton input {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
    }

.show-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 15px;
}

    .show-password-toggle:hover {
        color: #0080dd;
    }

.errorText {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #D6222C;
    font-size: 14px;
    margin-top: 12px;
    font-weight: 500;
}

    .errorText i {
        font-weight: 900;
        font-size: 16px;
    }

.account-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.account-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-align: left;
}

.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 14px;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

    .account-item:hover {
        background: #f8f8f8;
        border-color: #aaa;
    }

.account-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-icon {
    font-size: 28px;
    color: #666;
}

.account-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.account-name {
    font-weight: 500;
    color: #111;
}

.account-email {
    font-size: 13px;
    color: #555;
}

.account-status {
    font-size: 12px;
    color: #0080dd;
}

.account-actions {
    position: relative;
}

.account-menu-btn {
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    padding: 4px;
}

    .account-menu-btn:hover {
        color: #0080dd;
    }

/* Dropdown-menu */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 10;
    min-width: 120px;
}

    .dropdown-menu.show {
        display: block;
    }

.dropdown-item {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

    .dropdown-item:hover {
        background: #f0f0f0;
    }

.add-account {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #0080dd;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px dashed #0080dd;
    border-radius: 8px;
    margin-top: 10px;
}

    .add-account:hover {
        background: #f0f9ff;
    }
