

/* Bootstrap 3 Login Theme - Clean and Minimalist */

.kc-realm-logo {
    width: 100%;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px; /* Margin bottom by footer height */
    background-color: #ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.btn-primary {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
    filter: brightness(.8);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
    filter: brightness(.8);
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

#login-container {
    max-width: 400px;
    margin: 80px auto;
}

.login-panel {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    margin: 0 0 10px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 40px;
    font-size: 14px;
}

.btn-primary {
    width: 100%;
    height: 40px;
    font-size: 16px;
    font-weight: normal;
}

.alert {
    margin-bottom: 20px;
    border-radius: 4px;
}

.checkbox {
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkbox label {
    font-weight: normal;
}

.form-actions {
    margin-top: 20px;
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    font-size: 13px;
    color: #337ab7;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.register-link a {
    color: #337ab7;
    font-size: 14px;
}

/* Social providers */
.social-providers {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-providers h3 {
    font-size: 14px;
    text-align: center;
    color: #666;
    margin-bottom: 15px;
}

.social-providers .btn {
    margin-bottom: 10px;
}

body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #ffffff;
}

form {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
form form-heading,
form .checkbox {
  margin-bottom: 10px;
}
form .checkbox {
  font-weight: normal;
}
form .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
form .form-control:focus {
  z-index: 2;
}
form input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
form input[type="password"] {
  margin-bottom: 10px;
}

.footer {
  color: #333;
  font-size: 16px;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Fixed footer height */
  background-color: #f5f5f5;
  text-align: center;
  padding: 15px 0;
}
