* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  color: #212529;
  line-height: 1.6;
}
#g_id_onload,
.g_id_signin {
  margin-bottom: 20px;
}
#user-info {
  display: none;
  max-width: 360px;
  width: 100%;
  margin-top: 10px;
  background: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
}
#user-info img {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  object-fit: cover;
  margin-bottom: 15px;
}
.user-details {
  margin-bottom: 20px;
}
.user-details h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #212529;
}
.user-details p {
  font-weight: 400;
  font-size: 1rem;
  color: #6c757d;
  letter-spacing: 0.02em;
}
.download-btn {
  color: #fff;
  font-size: 1rem;
  padding: 10px 26px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  max-width: 100%;
  min-width: 120px;
  margin: 0 auto;
}
#logout-btn {
  background-color: #dc3545;
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}
#logout-btn:hover {
  background-color: #e4606d;
  box-shadow: 0 6px 12px rgba(229, 112, 121, 0.6);
}
#logout-btn:active {
  background-color: #b52a37;
  box-shadow: 0 3px 6px rgba(138, 21, 27, 0.5);
}
#logout-btn:focus {
  outline: 2px solid white;
  outline-offset: 0;
}
#confirm-dialog.hidden {
  display: none;
}
#confirm-dialog {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.confirm-content {
  background: white;
  padding: 25px 30px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  max-width: 360px;
  width: 90%;
  text-align: center;
  font-size: 1.1rem;
  color: #212529;
}
.confirm-content h3 {
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.3rem;
  color: #212529;
}
.confirm-content hr {
  border: none;
  border-top: 2px solid #dee2e6;
  margin: 0 0 20px 0;
}
.confirm-content p {
  font-weight: 400;
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 20px;
}
.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.buttons.reverse {
  flex-direction: row-reverse;
}
.btn-yes, .btn-no {
  font-size: 1rem;
  padding: 10px 26px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 120px;
  justify-content: center;
}
.btn-no {
  background-color: #dc3545;
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-no:hover {
  background-color: #e4606d;
  box-shadow: 0 6px 12px rgba(229, 112, 121, 0.6);
}
.btn-no:active {
  background-color: #b52a37;
  box-shadow: 0 3px 6px rgba(138, 21, 27, 0.5);
}
.btn-no:focus {
  outline: 2px solid white;
  outline-offset: 0;
}
.btn-yes {
  background-color: #28a745;
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-yes:hover {
  background-color: #3ec24d;
  box-shadow: 0 6px 12px rgba(72, 204, 82, 0.6);
}
.btn-yes:active {
  background-color: #1e7e2e;
  box-shadow: 0 3px 6px rgba(17, 57, 13, 0.5);
}
.btn-yes:focus {
  outline: 2px solid white;
  outline-offset: 0;
}
@media (max-width: 400px) {
  body {
    padding: 10px;
  }
  #user-info {
    max-width: 100%;
    padding: 20px;
  }
  .user-details h2 {
    font-size: 1.3rem;
  }
  .user-details p {
    font-size: 0.9rem;
  }
  .download-btn, .btn-no, .btn-yes {
    font-size: 0.9rem;
    padding: 8px 20px;
    min-width: 100px;
  }
  #user-info img {
    width: 90px;
    height: 90px;
  }
  .confirm-content {
    padding: 20px;
  }
  .confirm-content h3 {
    font-size: 1.2rem;
  }
  .confirm-content p {
    font-size: 0.95rem;
  }
}