* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.login-container, section {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.login-container::before, section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: #d62828;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
}

.login-container::after, section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: #0057b8;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
}

.contents {
  text-align: left;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.contents h1 {
  text-align: center; /* judul tetap di tengah */
  margin-bottom: 20px;
  color: #0057b8;
}

.contents h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #d62828;
}

.contents ul {
  margin-left: 20px;
  margin-bottom: 15px;
  text-align: justify;
}

.contents .section:first-child h3 {
    color: #d62828;
}

.contents h3 {
    margin-bottom: 1em;
}

.login-container h1 {
  color: #0057b8;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.login-container p {
  color: #d62828;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.red {
    color: #d62828;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  outline: none;
  background: #fafafa;
  transition: all 0.3s ease;
  color: #333;
}

.input-group input:focus {
  border-color: #d62828;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.15);
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0057b8, #003d82);
  color: white;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  letter-spacing: 0.5px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 87, 184, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.footer-note {
  margin-top: 25px;
  font-size: 12px;
  color: #777;
}

.footer-note a {
  color: #0057b8;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed #0057b8;
  padding-bottom: 2px;
}

.footer-note a:hover {
  border-bottom-style: solid;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
