@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

html.aram-login-html,
body.aram-login-body {
  margin: 0;
  min-height: 100%;
}

body.aram-login-body {
  font-family: 'Pretendard', 'Segoe UI', sans-serif;
  background: radial-gradient(#1e40af, #1e3a8a);
  color: #111827;
}

.aram-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.aram-login-box {
  width: min(1050px, 92vw);
  min-height: 600px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: grid;
  grid-template-columns: 41% 59%;
}

.aram-login-left {
  background: linear-gradient(-45deg, #e5e7eb, #ffffff);
}

.aram-login-left-inner {
  height: 100%;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.aram-login-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aram-login-title {
  margin: 0;
  color: #1e40af;
  font-size: 28px !important;
  letter-spacing: 2px;
  font-weight: 600;
}

.aram-locale-wrap {
  width: auto;
}

.aram-locale-wrap select {
  min-width: 95px;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: #374151;
  background: #fff;
}

.aram-login-body {
  margin-top: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#kc-form-wrapper {
  width: 100%;
}

#kc-form-login {
  width: 100%;
}

.aram-input-block {
  margin: 14px 0;
}

input.aram-input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(30, 64, 175, 0.3);
  border-radius: 0;
  padding: 10px 4px;
  background: transparent;
  color: #111827;
  font-size: 13px !important;
  line-height: 1.2;
  box-shadow: none;
}

input.aram-input:focus {
  border-bottom-color: #1e40af;
  outline: 0;
}

input.aram-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.aram-options {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aram-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.aram-check-label .pf-v5-c-check__label {
  color: #4b5563;
  font-size: 13px;
}

.aram-forgot-link {
  font-size: 12px;
  color: #1e40af;
  text-decoration: none;
}

.aram-forgot-link:hover {
  text-decoration: underline;
}

input.aram-submit,
#kc-login.aram-submit {
  margin: 22px auto 0;
  width: 60% !important;
  min-width: 210px;
  height: 38px !important;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: #ffffff;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 10px 22px -10px rgba(30, 64, 175, 0.8);
}

input.aram-submit:hover,
#kc-login.aram-submit:hover {
  filter: brightness(1.04);
}

.aram-alert {
  border-radius: 8px;
}

#input-error {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.aram-social-footer {
  margin-top: auto;
}

.aram-login-right {
  position: relative;
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.9) 100%),
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1200') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.aram-brand-text {
  text-align: center;
  padding: 32px;
}

.aram-brand-text h2 {
  margin: 0;
  font-size: clamp(38px, 3.2vw, 48px) !important;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.aram-brand-text p {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.2vw, 20px) !important;
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pf-v5-c-login__main-footer {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .aram-login-box {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .aram-login-right {
    min-height: 250px;
  }

  .aram-login-title {
    font-size: 30px;
  }

  .aram-brand-text h2 {
    font-size: clamp(40px, 9vw, 58px);
  }

  .aram-brand-text p {
    font-size: clamp(20px, 5vw, 28px);
  }
}

@media (max-width: 640px) {
  .aram-login-shell {
    padding: 16px;
  }

  .aram-login-left-inner {
    padding: 28px 20px;
  }

  .aram-login-title {
    font-size: 28px;
  }
}
