﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: #fafafa;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 40px;
}

.page-bg {
}

.corner-circle {
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle at 25% 25%, #1a54ff, #0d2a8f 65%);
    opacity: 0.95;
    z-index: 0;
}

.corner-circle-bottom {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 25% 25%, #0d2a8f 65%, #1a54ff );
    opacity: 0.95;
    z-index: 0;
}

.top-left {
    top: -110px;
    left: -110px;
}

.bottom-right {
    right: -100px;
    bottom: -100px;
}

.panel-wrap {
    position: relative;
    max-width: 1100px;
    margin: 30px auto;
    display: flex;
    gap: 0;
    align-items: stretch;
    z-index: 2;
}

.welcome-panel-container {
    background-image: url('../img/bg.svg');
    position: relative;
    color: white;
    padding: 9vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    border-radius: 0px;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 500px;
}

.welcome-content {
    z-index: 10;
    max-width: 100%;
}

.welcome-title {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 1em;
    line-height: 1.5;
}

.white-card {
    position: absolute;
    top: 8%;
    left: 7%;
    /* right: 14%; */
    width: 390px;
    height: 409px;
    background-color: white;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

/* Form fields */
.login-form {
    width: 100%;
    padding-top: 15px;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e1e1e6;
    border-radius: 4px;
    padding: 3px;
    margin-bottom: 18px;
    background: #fff;
    background: linear-gradient(to right, #0a59af 1%, #ffffff 1%);
}

    .input-row .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 0px;
    }

    .input-row input {
        border: none;
        outline: none;
        font-size: 15px;
        padding: 8px 6px;
        flex: 1;
    }

/* small row */
.row-between.small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 14px;
    color: #333;
}

.checkbox input {
    margin-right: 8px;
}

.forgot {
    color: #333;
    text-decoration: none;
    opacity: 0.9;
}

    .forgot:hover {
        text-decoration: underline;
    }

/* button */
.btn {
    display: block;
    margin: 6px auto 0;
    background: linear-gradient(180deg,#2e3fcc,#1a2f7a);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
}

    .btn:hover {
        filter: brightness(0.95);
    }

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .page-container {
        height: 100vh;
        overflow: hidden;
       
    }
    body {
        height: 100%;
        position: absolute;
        overflow: hidden;
    }
    /* Adjustments for the main container */
    .panel-wrap {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    /* Adjustments for the login card */
    .white-card {
        position: relative;
        top: auto;
        left: -14px;
        width: 100%;
        height: auto;
        max-width: 400px;
        margin: 69px auto;
        box-shadow: none;
    }

    /* Adjustments for the welcome panel */
    .welcome-panel-container {
        display: none;
        height: 250px;
        width: 100%;
        border-radius: 0;
        padding: 30px;
        margin-top: 20px;
    }

    .welcome-content {
        max-width: 100%;
        text-align: center;
    }

    .welcome-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .welcome-text {
        font-size: 0.9em;
    }
    .corner-circle {
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(circle at 25% 25%, #1a54ff, #0d2a8f 65%);
        opacity: 0.95;
        z-index: 0;
    }

    .corner-circle-bottom {
        position: absolute;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: radial-gradient(circle at 25% 25%, #0d2a8f 65%, #1a54ff );
        opacity: 0.95;
        z-index: 0;
    }

}
