/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and HTML Styling */
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  background: url('https://kggfradio.com/assets/images/blogs/2019/Food_Donations.jpg') no-repeat center center fixed; 
  background-size: cover; /* Ensure the image covers the entire viewport */
}

/* Header Styling */
header {
  background-color: rgba(76, 175, 80, 0.8); /* Semi-transparent background */
  color: white;
  padding: 10px 0;
  text-align: center;
}

header h1 {
  margin: 0;
}

/* Main Content Styling */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100% - 60px); /* Adjust according to header height */
}

.container {
  max-width: 600px;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
/* Other HTML elements */
h2 {
  margin-bottom: 15px;
}

form {
  display: flex;
  flex-direction: column;
}

input, select {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Primary button */
.btn-primary {
  background-color: #4CAF50;
}

.btn-primary:hover {
  background-color: #45a049; /* Darker green on hover */
}

/* Request pickup button */
.request-pickup-btn {
  background-color: #333; /* Darker background color */
}

.request-pickup-btn:hover {
  background-color: #444; /* Slightly lighter on hover */
}

/* Logout button styling */
#logout-btn {
  background-color: #f44336; /* Red color */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin: 10px;
}

#logout-btn:hover {
  opacity: 0.8; /* Slightly transparent on hover */
}

/* Footer Styling */
footer {
  background-color: rgba(76, 175, 80, 0.8); /* Semi-transparent background */
  color: white;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* List Styling */
.donation-list {
  list-style: none;
  padding: 0;
}

.donation-item {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-info {
  flex-grow: 1;
}
/* Notification Box Styling */
.notification-box {
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
  color: #333;
  font-size: 16px;
}
/* Light red for decline button */
.btn-secondary {
  background-color: #f44336; /* Light red background color */
  color: white; /* White text color */
  padding: 10px 20px; /* Padding for button */
  border: none; /* Remove default border */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  font-size: 16px; /* Font size */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.btn-secondary:hover {
  background-color: #d32f2f; /* Darker red on hover */
}
