/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container layout */
.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left panel styles */
.left-panel {
    width: 60%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* Header and logo */
.header {
    margin-bottom: 2rem;
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* Content section */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

/* Presents text */
.presents {
    margin-bottom: 1rem;
    text-align: center;
}

.presents p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #0066a4;
}

/* Course title */
.course-title {
    margin-bottom: 3rem;
    text-align: center;
}

.course-title h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e63946;
    line-height: 1.2;
}

/* Login section */
.login-section {
    width: 100%;
    max-width: 500px;
}

.login-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    /* border: 1px solid #ccc; */
    border: 1px solid #33b1d9;
    border-radius: 5px;
    font-size: 1rem;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.submit-btn {
    background-color: #0066a4;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 3rem;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #005085;
}

/* Right panel styles */
.right-panel {
    width: 40%;
    position: relative;
    /* background: linear-gradient(135deg, #0066a4, #1e3a8a); */
    overflow: hidden;
}

/* Create angled edge with pseudo-element */
.right-panel::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: -50px;
    height: 100%;
    width: 100px;
    background-color: white;
    transform: skewX(6deg);
    z-index: 1;
}

.brain-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.powered-by {
    position: absolute;
    top: 30px;
    /* right: 20px; */
    right: -25px;
    display: flex;
    align-items: center;
    color: white;
    z-index: 2;
}

.powered-bylogo {
    position: absolute;
    bottom: 5px;
    /* right: 20px; */
    right: -10px;
    display: flex;
    align-items: center;
    color: white;
    z-index: 2;
}

.powered-by p {
    margin-right: 10px;
    font-size: 1rem;
}

.powered-by img {
    height: 60px;
    width: auto;
}

/* Responsive styles */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }

    .left-panel, .right-panel {
        width: 100%;
    }

    .left-panel {
        padding: 1.5rem;
    }

    .right-panel {
        min-height: 400px;
    }

    .right-panel::before {
        display: none;
    }

    .presents p {
        font-size: 2rem;
    }

    .course-title h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .presents p {
        font-size: 1.5rem;
    }

    .course-title h1 {
        font-size: 1.5rem;
    }

    .login-section h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .submit-btn {
        padding: 0.7rem 2.5rem;
        font-size: 1rem;
    }

    .right-panel {
        min-height: 300px;
    }
}
