/* public/css/style.css */

/* Google Font yang "bulat" dan lucu */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

:root {
  --pink: #FFC0CB;
  --soft-pink: #FADADD;
  --blue: #AEE2FF;
  --mint: #BFFCC6;
  --text: #555;
  --bg: #FFFBFB; /* Latar belakang pink sangat pucat */
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.auth-container {
  background: white;
  padding: 2.5rem;
  border-radius: 20px; /* Sudut tumpul! */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 2px solid var(--soft-pink);
}

.auth-container h1 {
  color: var(--pink);
  margin-bottom: 2rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form input {
  font-family: 'Nunito', sans-serif;
  padding: 1rem;
  border: 2px solid var(--soft-pink);
  border-radius: 12px; /* Sudut tumpul juga */
  font-size: 1rem;
  transition: all 0.2s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 10px var(--soft-pink);
}

.auth-button {
  background: var(--pink);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.auth-button:hover {
  transform: scale(1.03); /* Efek sedikit "mental" */
}

/* Tombol OAuth */
.oauth-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.oauth-button {
  padding: 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s;
}
.oauth-button:hover {
  opacity: 0.8;
}
.google {
  background: #f2f2f2;
  color: #777;
  border: 1px solid #ddd;
}
.github {
  background: #333;
  color: white;
}

.auth-container p {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.auth-container a {
  color: var(--pink);
  font-weight: 700;
  text-decoration: none;
}

.error-message {
  background: #FFEEEE;
  color: #D9534F;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}