/* Global Styles */
body {
  font-family: "Roboto", Arial, sans-serif;
  background: #ffecd2;
  margin: 0;
  padding: 0;
  color: #333333;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Add spacing between logo and text */
  margin-bottom: 20px;
}

/* General Container Styles */
.create-note-container,
.view-note-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
}

.logo {
  width: 50px; /* Adjust width for smaller display */
  height: auto; /* Maintain aspect ratio */
  cursor: pointer;
  border-radius: 5px;
}

.title {
  font-size: 3em;
  color: #ff6f61;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-bottom: 5px;
  cursor: pointer;
}

.title:hover {
  color: #ff4c3b; /* Optional: Slightly change color on hover */
}

.note-form,
.note-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 450px;
  width: 90%; /* Default width for all devices */
  text-align: left;
  transition: all 0.3s ease;
}

.note-form:hover,
.note-box:hover,
.notes-list:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.1em;
  color: #444444;
}

.form-input,
.form-textarea {
  width: 92%;
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid #cccccc;
  border-radius: 6px;
  font-size: 1em;
  background: #fdfdfd;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ff6f61;
  box-shadow: 0 0 5px rgba(255, 111, 97, 0.4);
  outline: none;
}

.form-textarea {
  resize: none;
  height: 120px;
}

/* Buttons */
.submit-button,
.copy-button,
.whatsapp-button,
.image-button {
  width: 100%;
  padding: 12px 15px;
  font-size: 1.2em;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.image-button {
  background-color: #ff6f61;
  color: #fff;
}

.image-button:hover {
  background-color: #e85a4f;
}

.submit-button {
  background-color: #ff6f61;
  color: #ffffff;
}

.submit-button:hover {
  background-color: #e85a4f;
}

.submit-button:active {
  background-color: #cc4f44;
}

.copy-button {
  background-color: #007bff;
  color: #ffffff;
 }

.copy-button:hover {
  background-color: #0056b3;
}

.whatsapp-button {
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
}

.whatsapp-button:hover {
  background-color: #1ebc56;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

/* Error and Info */
.error-message {
  color: #e85a4f;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

.note-box p {
  margin: 12px 0;
  font-size: 1.1em;
  line-height: 1.6;
}

.note-box strong {
  color: #ff6f61;
  font-weight: 600;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 20px;
  gap: 10px;
}

.react-datepicker-wrapper {
  display: block !important;
}

/*Footer*/
.footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #ddd;
}

.links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.link {
  text-decoration: none;
}

.icon {
  height: 30px;
}

.created-by {
  font-size: 1em;
  color: #333;
}

.profile-link {
  color: #ff6f61;
  text-decoration: none;
}
/* App.css */

.app-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-left: 40px;
}

.nav-link {
  text-decoration: none;
  font-size: 1.2em;
  color: #ff6f61;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ff4c3b;
}

.nav-link.active {
  color: #ff4c3b;
  font-weight: bold;
  border-bottom: 1px solid #ff4c3b;
}

.view-note-container,
.create-note-container,
.your-notes-container {
  text-align: center;
}

.note-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.notes-list {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 450px;
  width: 450px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.note-summary {
  background: rgb(253, 229, 196);
  text-wrap: wrap;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(218, 2, 2, 0.1);
  cursor: pointer;
  transition: transform 0.2s;
}

.note-summary:hover {
  transform: translateY(-3px);
}

.note-summary strong {
  color: #ff6f61;
  font-weight: 600;
}

.note-summary p {
  margin: 0 0;
  text-wrap: wrap;
  word-wrap: break-word;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.pagination-button {
  padding: 10px 15px;
  font-size: 1em;
  color: #fff;
  background-color: #ff6f61;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 1.1em;
  color: #333;
}

.error-message {
  color: red;
  margin-top: 20px;
}
.your-notes-container {
  text-align: center;
}

.error-message {
  color: red;
  margin-top: 20px;
}

.empty-message {
  font-size: 1.2em;
  margin-top: 20px;
  color: #666;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .title {
    font-size: 2.5em;
  }

  .note-form,
  .note-box,
  .notes-list {
    padding: 20px 25px;
    max-width: 350px; /* Reduced max width for tablets */
    width: 95%;
  }

  .form-label {
    font-size: 1em;
  }

  .submit-button,
  .copy-button,
  .whatsapp-button {
    font-size: 1em;
    padding: 10px;
  }

  .share-buttons {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 2em;
  }

  .note-form,
  .note-box,
  .notes-list {
    padding: 15px 20px;
    max-width: 300px; /* Reduced further for phones */
    width: 100%;
  }

  .form-label {
    font-size: 0.9em;
  }

  .submit-button,
  .copy-button,
  .whatsapp-button {
    font-size: 0.9em;
    padding: 8px;
  }
}
