/* Page Loader Styles */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #133964 0%, #133964 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Hide body content while loading */
body.loading > *:not(#page-loader) {
    visibility: hidden;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: #ececec;
}
.login-container {
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}
.form-section {
    padding: 2rem;
}
.form-section h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.form-section p {
    color: #6c757d;
    font-size: 0.9rem;
}
.form-control {
    border-radius: 0.5rem;
}
.btn-primary {
    background-color: #133964;
    border: none;
    border-radius: 0.5rem;
}
.btn-primary:hover {
    background-color: #102B4E;
}
.custom-link {
    color: #133964;
    font-size: 0.85rem;
    text-decoration: none;
}
.image-section {
    background-color: #EAF3FF;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-section img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .login-container {
        margin: 0px 20px;
        /* margin-top: 100px; */
    }

    .image-section {
      display: none;
    }
}

.uk-alert {
  border: none;
  background: #154473;
  color: #fff;
  text-shadow: none;
  padding-right: 32px;
  position: relative;
  display: block;
  border-radius: 5px;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.uk-alert-success {
  background: #8bc34a !important;
}
.uk-alert-danger {
  background: #e53935 !important;
}
.uk-alert-warning {
  background: #ffa000 !important;
}
.uk-alert-info {
  background: #0097a7 !important;
}
.uk-alert-large {
  padding: 24px 32px 24px 24px;
}
.uk-alert-close {
  position: absolute;
  top: 10px;
  right: 8px;
  float: none !important;
  margin: 0 !important;
}
.uk-alert-close:after {
  color: #fff !important;
}