/* මූලික සැකසුම් */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fff;
}

/* =========================================
    වම් පස කොටස (Left Panel)
========================================= */
.left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #ffffff;
}

.login-container {
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.login-container h1 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #111;
}

.social-btn-container {
    position: relative;
    margin-bottom: 16px;
}

.btn-social {
    width: 100%;
    height: 40px;
    background-color: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social svg {
    width: 18px;
    height: 18px;
}

/* Last Used Badge එක */
.last-used-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #6b7280;
    z-index: 10;
}

.last-used-badge::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 15px;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #e5e7eb transparent transparent transparent;
}
.last-used-badge::before {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 15px;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 1;
}

.signup-text {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 24px;
}

.signup-text a {
    color: #4f46e5;
    text-decoration: none;
}

/* Terms Button Styles */
.footer-terms {
    position: absolute;
    bottom: 30px;
}

.terms-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    color: #6b7280;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.terms-btn:hover {
    background-color: #f3f4f6;
    color: #111;
    border-color: #d1d5db;
}

/* =========================================
    දකුණු පස කොටස (Right Panel)
========================================= */
.right-panel {
    flex: 1;
    background-color: #0D0F0D;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    position: relative;
    overflow: hidden;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.globe-bg {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.right-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.koyeb-logo-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    margin-top: -80px;
}

.koyeb-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: bold;
    font-family: -apple-system, sans-serif;
    letter-spacing: -0.5px;
}

.koyeb-subtitle {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #a3a3a3;
    line-height: 1.4;
}

.main-heading {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: normal;
}

.text-green {
    color: #00e599;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 80px;
}

.feature-badge {
    background-color: #222222;
    border: 1px solid #333333;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e5e5e5;
    letter-spacing: 0.5px;
}

.feature-icon {
    width: 12px;
    height: 12px;
    background-color: #e5e5e5;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 8px; height: 8px; fill: #222;
}

.trusted-section {
    margin-bottom: 30px;
}

.trusted-title {
    font-size: 12px;
    color: #e5e5e5;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trusted-arrow {
    color: #00e599;
    font-size: 10px;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    align-items: center;
    opacity: 0.5;
    font-family: -apple-system, sans-serif;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 600;
}

.logo-databricks { font-weight: normal; font-size: 16px; }
.logo-stanford { font-family: serif; font-size: 18px; }
.logo-strapi { font-weight: bold; font-size: 16px; letter-spacing: -0.5px;}
.logo-photoroom { font-weight: 700; font-size: 15px;}
.logo-scenario { font-weight: normal; font-size: 16px; }
.logo-etoro { font-weight: bold; font-size: 18px; letter-spacing: -1px; }

.right-footer {
    position: absolute;
    bottom: 30px;
    font-size: 11px;
    color: #a3a3a3;
}

/* මුලින්ම බටන් ටික ලොක් වෙලා තියෙන බව පෙන්වන්න */
.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ඇතුළෙ තියෙන button එකෙත් cursor එක වෙනස් කරන්න */
.disabled-btn button {
    cursor: not-allowed !important;
}

/* ටික් එක නැතුව එබුවම Terms text එක විතරක් රතු පාට වෙන්න */
.error-red {
    color: red !important;
    transition: 0.3s ease;
}

.error-red a {
    color: red !important;
}

/* ටික් එක නැති වෙලාවට බටන් අඳුරු කරන්න */
.disabled-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ටික් එක නැතුව එබුවොත් රතු වෙන්න */
.error-red-text {
    color: red !important;
}

.error-red-text a {
    color: red !important;
}

/* Checkbox එකයි text එකයි එක පේළියට ගන්න */
.footer-terms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}
