/* 
 * BUTTON STYLES 
 */
.ffs-button-container {
  text-align: center;
  margin: 30px 0;
  width: 100%; /* Ensure full width for proper centering */
}

/* FFS button styling */
.ffs-button {
  position: relative;
  background-color: #2e7d32; /* Match header's base color */
  background: linear-gradient(45deg, #2e7d32, #66bb6a); /* Match header's gradient */
  color: white;
  border: none;
  /* Reduce size by dividing by 1.2 */
  padding: 2.5rem 5rem;  /* Reduced from 3rem 6rem */
  font-size: 3.75rem;   /* Reduced from 4.5rem */
  font-weight: bold;
  cursor: pointer;
  border-radius: 20px;  /* Reduced from 24px */
  transition: all 0.3s ease;
  min-width: 250px;    /* Reduced from 300px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Center the button */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 
              0 4px 6px rgba(0, 0, 0, 0.1),
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #2e7d32; /* Match header's base color */
}

.ffs-button:hover {
  background: linear-gradient(45deg, #3a8d42, #76cb7a); /* Slightly lighter gradient */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25), 
              0 6px 8px rgba(0, 0, 0, 0.15),
              inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.ffs-button:active {
  background: linear-gradient(45deg, #266d2a, #5aab5e); /* Slightly darker gradient */
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15),
              0 1px 2px rgba(0, 0, 0, 0.1),
              inset 0 1px 5px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid #266d2a; /* Darker shade of the base color */
}

.button-text {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.refresh-icon {
  display: none;
  font-size: 3.75rem; /* Reduced from 4.5rem to match the FFS text */
  line-height: 1;
  vertical-align: middle; /* Ensure vertical alignment */
}

.ffs-subtitle {
  font-size: 17px;
  color: white;
  display: block;
  margin-top: 5px;
  margin-bottom: 3px;
  font-weight: normal;
}

.click-here-text {
  font-size: 10px;
  color: white;
  display: block;
}

.ffs-button.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ffs-button.active .button-text {
  display: none;
}

.ffs-button.active .ffs-subtitle {
  display: none;
}

.ffs-button.active .click-here-text {
  display: none;
}

.ffs-button.active .refresh-icon {
  display: block;
  position: static;
  transform: none;
  text-align: center;
  margin-bottom: 5px; /* Add space between icon and "Click here" text */
}

.ffs-button.spinning .refresh-icon {
  animation: spin 0.7s ease-in-out;
}

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

/* Responsive styles for buttons */
@media (max-width: 768px) {
  .ffs-button-container {
    order: 2;
    width: 100%;
    margin-top: 1.5rem;
  }
  
  .ffs-button {
    padding: 36px 75px;  /* 3x larger padding for mobile */
    font-size: 3.9em;    /* 3x larger font size for mobile */
    margin: 0 auto;
    display: block;
    min-width: 250px;    /* Adjusted for mobile */
    border-radius: 20px; /* Slightly reduced for mobile */
  }
  
  .refresh-icon {
    font-size: 2.5em; /* Reduced by ~35% from 3.9em */
  }
  
  .ffs-subtitle {
    font-size: 16px; /* Slightly larger for mobile */
  }
}

@media (max-width: 480px) {
  .ffs-button {
    width: 80%;
    padding: 30px 45px;  /* 3x larger padding for small screens */
    font-size: 3.6em;    /* 3x larger font size for small screens */
    margin: 0 auto;
    min-width: 200px;    /* Adjusted for small screens */
  }
  
  .refresh-icon {
    font-size: 2.3em; /* Reduced by ~35% from 3.6em */
  }
  
  .ffs-subtitle {
    font-size: 16px; /* Slightly larger for mobile */
  }
} 