/* Base styles */
:root {
  --primary-color: #5468FF;
  --primary-hover: #4054E5;
  --text-color: #333;
  --bg-color: #F5F7FF;
  --card-bg: white;
  --border-color: #E1E4EA;
  --success-color: #28a745;
  --error-color: #dc3545;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

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

.text-center {
  text-align: center;
}

.hero {
  background: linear-gradient(135deg, #5468FF 0%, #6B8AFF 100%);
  color: white;
  padding: 40px 20px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: 2.5rem;
  text-align: center;
}

.hero p {
  margin-bottom: 24px;
  font-size: 1.2rem;
  text-align: center;
}

.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

/* Auth options */
.auth-options, .input-card {
  width: 100%;
  margin-bottom: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 16px;
  text-align: center;
}

.auth-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: center;
}

.auth-option h3 {
  margin-bottom: 8px;
  color: #4054E5;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

.auth-option p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #444;
  text-align: center;
}

.helper-text {
  font-size: 0.75rem;
  color: #444;
  margin-top: 6px;
  background-color: transparent;
  padding: 8px 0;
  line-height: 1.5;
  border: none;
}

/* Email container */
.email-container {
  display: flex;
  align-items: center;
  margin: 8px 0 5px;
  padding: 6px 8px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.service-email-input {
  flex: 1;
  font-family: monospace;
  word-break: break-all;
  border: none;
  background: transparent;
  padding: 4px;
  font-size: 0.75rem;
  color: #555;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-email-input:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.copy-button {
  padding: 4px 8px;
  background-color: transparent;
  color: var(--primary-color);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-left: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.copy-button:hover {
  text-decoration: underline;
}

/* Google Sign-in button */
.google-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Custom Google Button - this matches official Google branding */
.custom-google-button {
  height: 40px;
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px 0;
  color: rgba(0, 0, 0, 0.54);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 0 16px;
  width: 100%;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  margin: 10px 0;
}

.custom-google-button:hover {
  background-color: #f8f9fa;
  border-color: #dadce0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0;
}

.custom-google-button:active {
  background-color: #f1f3f4;
  border-color: #dadce0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
}

.custom-google-button img {
  height: 18px;
  width: 18px;
  margin-right: 8px;
}

/* Input card */
.input-card {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.input-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.input-group {
  margin-bottom: 12px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 0.875rem;
}

input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.875rem;
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(84, 104, 255, 0.1);
}

.action-button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.action-button:hover {
  background-color: var(--primary-hover);
}

.action-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Progress card */
.progress-card, .results-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 500px !important;
  margin-left: auto;
  margin-right: auto;
}

.progress-card h2, .results-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.progress-animation {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(84, 104, 255, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
  margin: 25px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-bar {
  height: 15px;
  background-color: #e9ecef;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #3245d6);
  border-radius: 6px;
  transition: width 0.5s;
  width: 0;
}

.progress-text {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #555;
  height: 1.2em; /* Fixed height to prevent layout shifts */
}

.found-count, .calendly-links-count {
  margin: 6px 0;
  font-size: 0.875rem;
  color: #555;
}

.calendly-links-count {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 8px 0;
}

/* Results styles */
.results-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.results-count-number {
  font-weight: 600;
}

.results-summary {
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.results-summary h2,
.results-summary h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.results-stats {
  color: #555;
  margin-top: 6px;
  font-size: 0.875rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.result-item {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.result-link {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-link a {
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-all;
}

.result-link a:hover {
  text-decoration: underline;
}

.copy-link-button {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.3s;
}

.copy-link-button svg {
  margin-right: 5px;
}

.copy-link-button:hover {
  background-color: #f5f5f5;
}

.copy-link-button.copied {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

/* Feature section */
.main-content {
  padding: 40px 0;
}

.features {
  margin-bottom: 40px;
}

.features h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--text-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.feature-card {
  background-color: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.875rem;
  color: #555;
}

/* Utility classes */
.hidden {
  display: none;
}

/* For medium screens, make auth options side by side */
@media (min-width: 768px) {
  .auth-options {
    flex-direction: row;
    max-width: 600px;
  }
  
  .auth-option {
    flex: 1;
    max-width: 290px;
  }
}

/* Responsive design */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .container {
    padding: 10px;
  }
  
  input[type="text"],
  .action-button {
    font-size: 14px;
  }
  
  .hero-illustration {
    scale: 0.8;
  }
  
  .connector-line {
    width: 30px;
  }
}

/* Email button */
.email-button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background-color: #4054E5;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 10px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.email-button:hover {
  background-color: #3245d6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.email-button:active {
  background-color: #2a3ac0;
  transform: translateY(1px);
}

/* Hero illustration */
.illustration-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    padding: 20px;
}

.illustration-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.illustration-item svg {
    fill: #5f6368;
}

.sheet-icon {
    animation-delay: 0s;
    background: #f1f3f4;
}

.search-icon {
    animation-delay: 0.3s;
    background: #e8f0fe;
}

.calendar-icon {
    animation-delay: 0.6s;
    background: #e6f4ea;
}

.connector-line {
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, rgba(66, 133, 244, 0.3), rgba(219, 68, 55, 0.3));
    position: relative;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Sheet Selector Modal */
.sheet-selector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.sheet-selector-modal.active {
    display: flex;
}

.sheet-selector-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sheet-selector-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sheet-selector-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.sheet-selector-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.sheet-selector-search {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sheet-selector-search input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.sheet-selector-list {
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-y: auto;
    max-height: 50vh;
}

.sheet-selector-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sheet-selector-item:hover {
    background-color: #f5f5f5;
}

.sheet-selector-item.selected {
    background-color: #e3f2fd;
}

.sheet-item-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.sheet-item-date {
    font-size: 0.8rem;
    color: #777;
}

.sheet-selector-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.sheet-selector-footer button {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

.sheet-selector-cancel {
    background-color: transparent;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.sheet-selector-select {
    background-color: #4285f4;
    color: white;
    border: none;
}

.sheet-selector-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #777;
    gap: 15px;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(101, 119, 255, 0.2);
    border-radius: 50%;
    border-top-color: #6577ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.sheet-selector-error {
    color: #d32f2f;
    padding: 20px;
    text-align: center;
}

/* Browse sheets button */
.browse-sheets-button {
    background-color: white;
    border: 1px solid #dadce0;
    border-radius: 4px;
    color: #4285f4;
    font-weight: 500;
    padding: 8px 16px;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.browse-sheets-button svg {
    margin-right: 8px;
    color: #4285f4;
}

.browse-sheets-button:hover {
    background-color: #f8f9fa;
    border-color: #4285f4;
    box-shadow: 0 1px 3px rgba(66, 133, 244, 0.3);
}

.no-sheets-message {
    padding: 30px;
    text-align: center;
    color: #777;
}

/* Sheet Selector enhancements */
.sheet-item-container {
    display: flex;
    align-items: center;
}

.sheet-item-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-right: 12px;
    border: 1px solid #e0e0e0;
    object-fit: cover;
}

.sheet-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    background-color: #f1f3f4;
    border-radius: 4px;
    padding: 6px;
    border: 1px solid #e0e0e0;
}

.sheet-item-details {
    flex: 1;
    min-width: 0;
}

.sheet-item-name {
    font-weight: 500;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-item-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 3px;
}

.sheet-item-tabs {
    font-size: 0.75rem;
    color: #1a73e8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-selector-search {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.sheet-selector-search input {
    width: 100%;
    padding: 10px 15px 10px 38px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.sheet-selector-search::before {
    content: '\1F50D'; /* Unicode for search icon */
    position: absolute;
    left: 35px;
    top: 25px;
    color: #5f6368;
    font-size: 14px;
}

.sheet-selector-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sheet-selector-item:hover {
    background-color: #f5f5f5;
}

.sheet-selector-item.selected {
    background-color: #e8f0fe;
    border-left: 3px solid #1a73e8;
}

.no-search-results {
    padding: 20px;
    text-align: center;
    color: #5f6368;
    font-style: italic;
}

/* Sheet selector subtitle and loading spinner */
.sheet-selector-subtitle {
    padding: 0 20px;
    margin-top: 8px;
}

.sheet-selector-subtitle p {
    font-size: 14px;
    color: #5f6368;
    margin: 0;
}

/* Sign in visible class - critical for ensuring button visibility */
.sign-in-visible {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: #6b42ed !important;
  color: white !important;
  border-radius: 30px !important;
  z-index: 10 !important;
  position: relative !important;
}

/* Tab selector and secondary button */
.sheet-tab-select {
  width: 70%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.875rem;
}

.secondary-button {
  background-color: #f1f3f4;
  border: 1px solid #dadce0;
  border-radius: 4px;
  color: #4285f4;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  margin-left: 10px;
}

.secondary-button:hover {
  background-color: #e8f0fe;
}

/* Paywall and blurred content */
.blurred-content {
  filter: blur(6px);
  user-select: none;
  transition: filter 0.3s ease;
}

.paywall-overlay {
  position: relative;
  margin-top: 20px;
}

.paywall-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 5;
  transition: opacity 1s ease;
}

/* Add styling for success message in paywall */
.paywall-message h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.paywall-message p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #555;
}

/* Success styling */
.paywall-message h3:first-child {
  color: #28a745;
}

/* Success and cancel payment pages */
.payment-result {
  text-align: center;
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.payment-result h1 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.payment-result.success h1 {
  color: #28a745;
}

.payment-result.cancel h1 {
  color: #dc3545;
}

.payment-result p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #555;
}

.payment-result .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
}

/* Stripe Popup Styles */
.stripe-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.stripe-popup-content {
  background-color: white;
  border-radius: 8px;
  padding: 32px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: slideUp 0.3s ease-out;
}

.stripe-popup-content h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
}

.stripe-popup-content p {
  margin-bottom: 24px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.5;
}

.stripe-popup-content .button-group {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.stripe-popup-content .btn {
  min-width: 100px;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stripe-popup-content .btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.stripe-popup-content .btn-secondary {
  background-color: #f1f3f4;
  color: var(--text-color);
  border: 1px solid #dadce0;
}

.stripe-popup-content .btn-primary:hover {
  background-color: var(--primary-hover);
}

.stripe-popup-content .btn-secondary:hover {
  background-color: #e8eaed;
}

/* Animations for popup */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Action buttons (Reveal Links and Sync buttons) */
.action-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

.action-button-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.reveal-button {
  background-color: #5468FF;
  background-image: linear-gradient(135deg, #5468FF 0%, #6B8AFF 100%);
}

.reveal-button:hover {
  background-image: linear-gradient(135deg, #4054E5 0%, #5A79F0 100%);
  box-shadow: 0 4px 12px rgba(84, 104, 255, 0.3);
  transform: translateY(-2px);
}

.sync-button {
  background-color: #28a745;
  background-image: linear-gradient(135deg, #28a745 0%, #34d058 100%);
}

.sync-button:hover {
  background-image: linear-gradient(135deg, #218838 0%, #28a745 100%);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  transform: translateY(-2px);
}

.action-button-premium span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pricing Options Modal */
.pricing-options {
  max-width: 700px !important; 
  padding: 24px !important;
  background-color: white;
}

.pricing-options h3 {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 22px;
  text-align: center;
}

.pricing-plans {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 640px) {
  .pricing-plans {
    flex-direction: column;
  }
}

.pricing-plan {
  flex: 1;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricing-plan h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.pricing-plan.featured {
  background-color: #f0f5ff;
  border: 2px solid var(--primary-color);
}

.best-value {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price {
  font-size: 32px;
  font-weight: 700;
  margin: 16px 0;
  color: #333;
}

.price span {
  font-size: 14px;
  color: #777;
  font-weight: normal;
  margin-left: 4px;
}

.pricing-plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-plan li {
  padding: 8px 0;
  position: relative;
  padding-left: 28px;
}

.pricing-plan li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.plan-button {
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
}

.plan-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.plan-button:hover::after {
  transform: translateX(100%);
}

.pricing-plan:not(.featured) .plan-button {
  background-color: #5468FF;
  background-image: linear-gradient(135deg, #5468FF 0%, #6B8AFF 100%);
}

.pricing-plan:not(.featured) .plan-button:hover {
  background-image: linear-gradient(135deg, #4054E5 0%, #5A79F0 100%);
  box-shadow: 0 6px 15px rgba(84, 104, 255, 0.5);
  transform: translateY(-3px);
}

.pricing-plan.featured .plan-button {
  background-color: #28a745;
  background-image: linear-gradient(135deg, #28a745 0%, #34d058 100%);
}

.pricing-plan.featured .plan-button:hover {
  background-image: linear-gradient(135deg, #218838 0%, #28a745 100%);
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.5);
  transform: translateY(-3px);
}

.cancel-button {
  display: inline-block;
  background: none;
  border: none;
  color: #777;
  margin-top: 16px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  padding: 4px 8px;
}

.cancel-button:hover {
  color: #333;
}

/* Animation for pricing plans */
.pricing-plan {
  animation: fadeInUp 0.4s ease-out;
}

.pricing-plan:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}