/* account.css */

/* Account Container */
.account-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1f1f2e, #2c2c3e);
}

/* Dashboard Layout */
.dashboard {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  justify-content: center;
}

/* Email Update Card */
.email-update-card {
  flex: 1 1 100%;
  background-color: #25253a;
  border-radius: 12px;
  padding: 0; /* Hidden by default */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition:
    max-height 0.4s ease,
    padding 0.4s ease,
    opacity 0.4s ease;
  text-align: center;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

/* Expanded state for email card */
.email-update-card.expanded {
  max-height: 500px; /* Adjust as needed */
  padding: 1.5rem;
  opacity: 1;
}

/* Email Update Card Header */
.email-update-card .card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.email-update-card .card-header svg {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  fill: none;
  stroke: #fff;
}

.email-update-card h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}

/* Email Form */
.email-update-card form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-update-card form .form-group {
  width: 100%;
  margin-bottom: 1.5rem;
}

.email-update-card form input[type='email'] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #6c63ff;
  background-color: #2c2c3e;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition:
    border 0.3s ease,
    background-color 0.3s ease;
}

.email-update-card form input[type='email']:hover {
  background-color: #3e3e5e;
}

.email-update-card form input[type='email']:focus {
  border-color: #7873f5;
  background-color: #3e3e5e;
}

/* Update Email Button */
.update-email-button {
  background-color: #6c63ff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.update-email-button:hover {
  background-color: #5753d9;
  transform: translateY(-2px);
}

.update-email-button:active {
  background-color: #4a43b8;
  transform: translateY(0);
}

/* Modify Email Button */
.modify-email-button {
  background-color: #6c63ff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 1rem;
  font-size: 1rem;
  display: inline-block;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.modify-email-button:hover {
  background-color: #5753d9;
  transform: translateY(-2px);
}

.modify-email-button:active {
  background-color: #4a43b8;
  transform: translateY(0);
}

/* Message Styles */
.message {
  margin-top: 1rem;
  font-size: 1rem;
}

/* Credits Card */
.credits-card {
  flex: 1 1 100%;
  margin: 0;
}

.performance-settings-card {
  flex: 1 1 100%;
  margin: 0;
}

.performance-settings-description {
  color: #c0c0c0;
  margin-bottom: 0.9rem;
}

.performance-toggle-button {
  width: fit-content;
  min-width: 220px;
}

.performance-settings-note {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: #a8a8b3;
  font-size: 0.9rem;
}

.performance-settings-link {
  margin-top: 0.9rem;
  display: inline-block;
  color: #6c63ff;
  text-decoration: none;
}

.performance-settings-link:hover {
  color: #8b84ff;
  text-decoration: underline;
}

/* Action Buttons Container */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Specific Buttons */
.logout-button {
  background: #ff4d4d;
}

.logout-button:hover {
  background: #e04343;
}

.refresh-button {
  background: #4caf50; /* Green color for refresh */
}

.refresh-button:hover {
  background: #45a049;
}

/* Buy Premium Button */
.buy-premium-button {
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  text-decoration: none;
}

.buy-premium-button:hover {
  background: linear-gradient(45deg, #e05fb4, #6563e5);
  transform: translateY(-2px);
}

.buy-premium-button:active {
  background: linear-gradient(45deg, #c04ea4, #5353d5);
  transform: translateY(0);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 1.1rem;
  color: #c0c0c0;
  margin-bottom: 0.5rem;
}

/* Dropdown Styles */
.select-wrapper {
  position: relative;
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background-color: #2c2c3e;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-select:hover {
  background-color: #3e3e5e;
}

.form-select:focus {
  box-shadow: 0 0 0 2px #6c63ff;
}

/* Custom Dropdown Arrow */
.select-wrapper::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: #ffffff;
  pointer-events: none;
}

/* Premium Tools Section */
.premium-tools-section {
  width: 100%;
  max-width: 1200px;
  margin-top: 3rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Tool Package */
.tool-package {
  background-color: #1e1e2f;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tool-package:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.tool-image {
  height: 80%;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.tool-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #6c63ff;
}

.tool-description {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #c0c0c0;
}

.tool-link {
  background: #6c63ff;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.tool-link:hover {
  background: #5753d9;
  transform: translateY(-2px);
}

.tool-link:active {
  background: #4a43b8;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .dashboard {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .tool-title {
    font-size: 1.1rem;
  }

  .tool-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .account-container {
    padding: 1rem;
  }

  .card-header h2 {
    font-size: 1.25rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .tool-image {
    height: 140px;
  }

  .premium-tools-section h2 {
    font-size: 1.5rem;
  }
}
/* account.css */

/* Existing styles... */

/* Bazaar Flip Analyzer Explanation Section */
.bazaar-flip-analyzer-section {
  width: 100%;
  max-width: 1200px;
  margin-top: 3rem;
  background-color: #1e1e2f;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  text-align: center;
}

.bazaar-flip-analyzer-section h2 {
  font-size: 1.75rem;
  color: #6c63ff;
  margin-bottom: 1rem;
}

.bazaar-flip-analyzer-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #c0c0c0;
}

.bazaar-flip-analyzer-section a {
  color: #6c63ff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.3s ease,
    border-bottom 0.3s ease;
}

.bazaar-flip-analyzer-section a:hover {
  color: #5753d9;
  border-bottom: 1px solid #5753d9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bazaar-flip-analyzer-section h2 {
    font-size: 1.5rem;
  }
  .bazaar-flip-analyzer-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .bazaar-flip-analyzer-section {
    padding: 1.5rem;
  }
  .bazaar-flip-analyzer-section h2 {
    font-size: 1.25rem;
  }
  .bazaar-flip-analyzer-section p {
    font-size: 0.95rem;
  }
}
