﻿body {
    background: url('../../img/bg-2.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    font-family: Overpass;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
}

.login-card {
    display: flex;
    flex-direction: row-reverse;
    width: 80vw;
    height: calc(80vw / 16 * 9);
    max-width: 1040px;
    max-height: 585px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.vessel-section {
    width: 66.66%;
    height: 100%;
    background: url('../../img/login-image.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

    .vessel-section::after {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

.vessel-content {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: white;
    text-align: right;
    z-index: 1;
}

    .vessel-content h2 {
        font-size: clamp(16px, 2vw, 20px);
        margin-bottom: 10px;
    }

    .vessel-content p {
        font-size: clamp(12px, 1.5vw, 14px);
        margin: 0;
    }

.login-section {
    width: 33.33%;
    padding: 40px 30px;
    background: url('/img/ripple-light-bg-p.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    width: 100%;
    max-width: 140px;
    margin-bottom: 20px;
    z-index: 10;
    position: relative;
}

    .logo-container img {
        width: 100%;
        height: auto;
    }

.title-container {
    text-align: center;
    margin-bottom: 20px;
}

.login-section h3 {
    /* font-size: clamp(16px, 2vw, 20px); */
    font-weight: bold;
    color: #333;
}

.label-left {
    align-self: flex-start;
    width:100%;
}

/* Responsive */
@media (max-width: 1040px) {
    .login-card {
        width: 90vw;
        height: calc(90vw / 16 * 9);
    }
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        width: 90%;
        height: auto;
        max-height: none;
    }

    .vessel-section,
    .login-section {
        width: 100%;
        min-height: 40vh;
    }

    .vessel-content {
        bottom: 20px;
        right: 20px;
    }

    .logo-container {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .login-card {
        width: 95%;
    }

    .vessel-section,
    .login-section {
        height: auto;
        min-height: 25vh;
    }

    .login-section {
        padding: 30px 20px;
    }

    .logo-container {
        max-width: 20vh;
    }


    .vessel-content h2 {
        font-size: 16px;
    }

    .vessel-content p {
        font-size: 12px;
    }
}
