@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --fs-default: 1rem;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    min-height: 100vh;
    background-color: #0e1a40;
    color: white;
    display: flex;
    overflow-x: hidden;
    font-size: var(--fs-default)
}

.main-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    position: relative;
    padding: 2rem;
}

/* Main Content Styles */
.main-content {
    margin-right: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.main-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

./* Update the illustration styles to better fit the larger SVG */
.illustration {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    position: relative;
    flex: 0 0 auto;
    height: auto;
    min-height: 450px; /* Increased minimum height */
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px; /* Increased maximum height */
    display: block;
}

/* Adjust responsive breakpoints for the larger image */
@media (max-width: 1024px) {
    .hero-image {
        max-height: 500px;
    }

    .illustration {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        max-height: 400px;
    }

    .illustration {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        max-height: 300px;
    }

    .illustration {
        min-height: 250px;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Login Section Styles */
.login-section {
    background-color: white;
    color: #333;
    width: 500px;
    height:100%;
    border-radius: 8px;
    padding: 2rem;
    margin-left: 2rem;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}
.infor {
    background-color: #fdf6e5;
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    margin-bottom: 2rem;
    border-left: 4px solid #f0ad4e;
}

.infor-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.infor-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.infor a {
    color: #0078d4;
    text-decoration: none;
}

.infor a:hover {
    text-decoration: underline;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.subtitle {
    color: #555;
    margin-bottom: 1.5rem;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.login-button svg {
    margin-right: 1rem;
}

.login-button:hover {
    background-color: #f5f5f5;
}

.two-column {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.two-column .login-button {
    flex: 1;
    justify-content: center;
}

.two-column .login-button svg {
    margin-right: 0.5rem;
}

.remember-me {
    margin-bottom: 1.5rem;
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.login-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  background-color: white;
  font-size: var(--fs-default);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.login-button svg {
  margin-right: 0.75rem;
  margin-top: -7px
}

.login-button.line {
  background-color: #06C755;
  color: white;
  border: none;
}

.login-button.line:hover {
  background-color: #05b64d;
}

.remember-me {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.sign-in-link {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.9rem
}

.sign-in-link a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
.footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: #666;
}

.terms {
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.left-links {
    display: flex;
    gap: 1rem;
}

.footer a {
    color: #666;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
    }

    .main-content {
        margin-right: 0;
        margin-bottom: 2rem;
        text-align: center;
        align-items: center;
    }

    .login-section {
        width: 100%;
        max-width: 500px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .main-container {
        padding: 1rem;
    }

    .login-section {
        padding: 1.5rem;
    }

    .two-column {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .main-content p {
        }

    .login-section {
        padding: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Toastr alert */
.alert{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
.alert.alert-success {
  background-color: #4CAF50 !important; /* green background */
}
.alert.alert-danger {
  background-color: #f44336 !important; /* red background */
}
