/* Styling for the Emotional Receipt Printer (styled as a receipt) */

body {
  font-family: 'Courier New', Courier, monospace; /* Monospace for receipt feel */
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
}

.receipt-container {
  max-width: 600px;
  margin: 40px auto;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 1.2em;
  line-height: 1.3; /* Adjust line height to tighten up spacing */
}

.receipt-container h2 {
  font-size: 1.6em;
  font-weight: bold;
  color: #2c8cff;
  margin-bottom: 20px;
}

.receipt-container p {
  font-size: 1em;
  color: #333;
  margin: 8px 0;
}

.receipt-box {
  background-color: #f7f7f7;
  padding: 15px;
  border: 1px dashed #ccc;
  font-size: 1.1em;
  text-align: left;
  margin-bottom: 20px;
  letter-spacing: -0.5px; /* Tighten letter spacing */
}

.receipt-tag {
  color: #2c8cff;
  font-weight: bold;
  font-size: 1.2em;
  display: block;
  margin-top: 10px;
}

.receipt-line {
  border-bottom: 1px dotted #ccc;
  margin: 10px 0;
}

.receipt-item {
  text-align: left;
  font-size: 1.1em;
  margin: 10px 0;
}

.receipt-item span {
  float: right;
  font-weight: bold;
}

.emotional-spend {
  color: #ff5733;
}

.emotional-receipt-footer {
  margin-top: 20px;
  font-size: 0.9em;
  color: #888;
}

/* Share Button Section */
#share-section {
  margin-top: 20px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.share-btn {
  padding: 10px 20px;
  background-color: #2c8cff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.share-btn:hover {
  background-color: #005f96;
}

.share-twitter {
  background-color: #1da1f2;
}

.share-facebook {
  background-color: #3b5998;
}

.share-whatsapp {
  background-color: #25d366;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
  .receipt-container {
    width: 90%;
    padding: 15px;
  }
  .share-buttons {
    flex-direction: column;
    gap: 10px;
  }
}
