/* === GLOBAL === */
body {
  font-family: 'Poppins', sans-serif;
  background: #f2f5f8;
  margin: 0;
  padding: 0;
  color: #222;
}

/* === HEADER === */
header {
  text-align: center;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  padding: 25px 10px;
  border-bottom: 4px solid #1B5E20;
}

/* === MAIN CONTAINER === */
main {
  max-width: 600px;
  margin: 30px auto;
  padding: 10px;
}

/* === APP CARD LIST === */
.app-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 15px;
  margin-bottom: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.app-card img {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  margin-right: 15px;
  object-fit: cover;
}

.app-info h2 {
  margin: 0;
  font-size: 18px;
}

.app-info p {
  font-size: 14px;
  color: #555;
}

/* === BUTTONS === */
button, .btn {
  background: #4CAF50;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  margin-top: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

button:hover, .btn:hover {
  background: #45a049;
}

/* === FOOTER === */
footer {
  text-align: center;
  font-size: 13px;
  color: #666;
  padding: 15px;
}

/* === LOGIN BOX === */
.login-box {
  width: 300px;
  margin: 100px auto;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
}

.login-box input {
  width: 90%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.login-box button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.login-box button:hover {
  background: #43a047;
}

/* === DETAIL PAGE === */
.detail {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

/* ✅ Logo di detail halaman — diperkecil */
.detail-icon {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto 15px auto;
  transition: transform 0.3s ease;
}

.detail-icon:hover {
  transform: scale(1.05);
}

.detail h2 {
  margin-top: 10px;
  font-size: 22px;
  color: #333;
}

.detail p {
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

/* === STARS / RATING === */
.stars {
  text-align: center;
  margin-bottom: 20px;
}

.stars input[type="radio"] {
  margin: 0 3px;
  transform: scale(1.2);
  cursor: pointer;
}

/* === ACTION BUTTONS (Edit & Delete) === */
.actions {
  text-align: center;
  margin-top: 20px;
}

.btn-edit {
  background-color: #2196f3;
}

.btn-delete {
  background-color: #f44336;
}

.btn-edit:hover {
  background-color: #1976d2;
}

.btn-delete:hover {
  background-color: #d32f2f;
}
