* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        'Roboto',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    font-size: 14px;
    color: #333;
}

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fb8035;
    background-image: url('assets/wave-rft-top.svg'), url('assets/wave-rft-bottom.svg');
    background-position:
        right top,
        left bottom;
    background-repeat: no-repeat;
    background-size:
        658px 398px,
        737px 543px;
    padding: 20px;
}

.kaseya-logo {
    position: absolute;
    top: 40px;
    left: 40px;
}

.kaseya-logo img {
    height: 50px;
    width: 93px;
}

.card {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 40px;
    width: 400px;
    text-align: center;
}

.logo-container {
    margin-bottom: 40px;
}

.rft-logo {
    height: 48px;
}

.region-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
}

.dropdown-trigger:hover {
    border-color: #bbb;
}

.dropdown.open .dropdown-trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-chevron {
    transition: transform 0.2s;
}

.dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-option {
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
}

.dropdown-option:hover {
    background: #f5f5f5;
}

.dropdown-option:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.separator {
    display: flex;
    align-items: center;
    color: #999;
    margin: 4px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dedede;
}

.separator span {
    padding: 0 16px;
}

.k1-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 4px;
    color: #656565;
    font-weight: 500;
    text-decoration: none;
}

.k1-button:hover {
    border-color: #4f64ee;
    color: #4f64ee;
}

.k1-button svg {
    margin-right: 12px;
}

.learn-more {
    margin-top: 8px;
    color: #fb8035;
    text-decoration: none;
}

.learn-more:hover {
    text-decoration: underline;
}

.footer {
    margin-top: 24px;
    color: #fff;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

.footer a:hover {
    text-decoration: none;
}

.footer .divider {
    margin: 0 8px;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: #fb8035;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
