* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background-image: linear-gradient(to bottom right, #ffffff, #f5f5f5);
}

.container {
  display: flex;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
}

.login-section {
  flex: 1;
  padding: 40px;
  background-color: #ffffff;
}

.graphic-section {
  flex: 1;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: #1e3c72;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  color: white;
  font-weight: bold;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #1e3c72;
}

h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1e3c72;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 0 2px rgba(30, 60, 114, 0.2);
  outline: none;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin-right: 8px;
}

.login-button {
  width: 100%;
  padding: 14px;
  background-color: #1e3c72;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 20px;
}

.login-button:hover {
  background-color: #2a5298;
}

.login-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.register-link {
  text-align: center;
  margin-top: 20px;
}

.register-link a {
  color: #1e3c72;
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

.graphic-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.graphic-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.9;
}

.football-field {
  width: 100%;
  max-width: 300px;
  height: 200px;
  background-color: #3a7d34;
  border: 2px solid white;
  border-radius: 10px;
  position: relative;
  margin-bottom: 30px;
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 2px solid white;
  border-radius: 50%;
}

.center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
}

.penalty-area {
  position: absolute;
  width: 80px;
  height: 120px;
  border: 2px solid white;
  top: 50%;
  transform: translateY(-50%);
}

.penalty-area.left {
  left: 0;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.penalty-area.right {
  right: 0;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.goal {
  position: absolute;
  width: 4px;
  height: 30px;
  background-color: white;
  top: 50%;
  transform: translateY(-50%);
}

.goal.left {
  left: 0;
}

.goal.right {
  right: 0;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 150px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-text {
  font-size: 14px;
}

/* SweetAlert Custom Styles */
.swal2-popup {
  border-radius: 15px !important;
}

.swal2-confirm {
  background-color: #1e3c72 !important;
}

/* Animasi untuk SweetAlert */
@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

.football-animation {
  animation: bounce 0.5s ease infinite alternate;
  font-size: 40px;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .graphic-section {
    order: -1;
    padding: 30px 20px;
  }

  .login-section {
    padding: 30px 20px;
  }

  .football-field {
    max-width: 250px;
    height: 150px;
  }

  .remember-forgot {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
}

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.back-button:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.back-button i {
  margin-right: 8px;
}
