﻿/* ================================================
   NAXAI LOGIN PAGE STYLES
   ================================================ */

/* Base splitted-screen layout */
.splitted-screen {
    align-items: center;
    justify-content: center;
    display: flex;
    padding-top: 50px;
}

/* Hide Naxai promo section completely on small screens */
.rounded-box {
    display: none !important;
}

.splitted-screen .box-container-centered {
    display: none;
}

/* Naxai button styles */
.btn.btn-naxai {
    background-color: #2e7eff;
    border-radius: 8px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 15px;
}

    .btn.btn-naxai:hover,
    .btn.btn-naxai:focus,
    .btn.btn-naxai:active {
        color: #fff;
        background-color: #1c5ed6;
        text-decoration: none;
    }

    .btn.btn-naxai span {
        color: #fff;
    }

    .btn.btn-naxai .arrow-icon {
        display: inline-block;
        fill: #fff;
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    .btn.btn-naxai:hover .arrow-icon {
        transform: translateX(4px);
    }

/* Contact text under button */
.rounded-box .contact-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.rounded-box .contact-link {
    color: #34495e;
    text-decoration: underline;
}

    .rounded-box .contact-link:hover {
        color: #2e7eff;
    }

/* Text underline style for "faster platform" */
.rounded-box .text-underlined {
    text-decoration: underline;
}

/* Constrain Naxai logo size */
.rounded-box .logo {
    width: auto !important;
    max-width: 190px;
    height: auto;
}

/* ================================================
   DESKTOP LAYOUT (min-width: 900px)
   ================================================ */
@media screen and (min-width: 900px) {
    .splitted-screen {
        padding-top: 0;
        min-height: 100vh;
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

        .splitted-screen:before,
        .splitted-screen:after {
            display: none;
        }

        /* Left side - Login form */
        .splitted-screen .box-container {
            width: 100%;
            padding: 0;
        }

            .splitted-screen .box-container .box {
                margin: 0;
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

        /* Right side - Naxai promo (visible on desktop) */
        .splitted-screen .box-container-centered {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f9fafc;
        }

        .splitted-screen .rounded-box {
            display: flex !important;
            max-width: 420px;
            background-color: white;
            border-radius: 8px;
            padding: 40px;
            height: auto !important;
            align-items: flex-start;
            flex-direction: column;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

            .splitted-screen .rounded-box .logo {
                width: auto !important;
                max-width: 260px;
                height: auto;
                margin-bottom: 24px;
            }

            .splitted-screen .rounded-box h1 {
                font-size: 26px;
                font-weight: 700;
                color: #2e7eff;
                margin-bottom: 16px;
                margin-top: 0;
                line-height: 1.3;
            }

            .splitted-screen .rounded-box p {
                font-size: 14px;
                line-height: 1.7;
                color: #555;
                margin-bottom: 12px;
            }

            .splitted-screen .rounded-box .contact-text {
                margin-top: 0;
                margin-bottom: 0;
            }
}
