/**
 * @file
 * Styles for AHA eCard Verification Form matching the actual site layout.
 */

/* Form container - centered layout */
#aha-everify-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Page title */
.everify-title {
  color: #cc0000;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Description section */
.everify-description {
  margin-bottom: 30px;
  line-height: 1.8;
  color: #333;
}

.everify-description p {
  margin-bottom: 15px;
}

.everify-description strong {
  font-weight: 700;
}

.everify-description ul {
  margin: 10px 0 15px 0;
  padding-left: 20px;
}

.everify-description li {
  margin-bottom: 5px;
  list-style-type: disc;
}

/* Input field */
.form-item-everify-uid {
  margin-bottom: 10px;
}

.form-item-everify-uid label {
  display: none;
}

.everify-input {
  width: 280px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.everify-input:focus {
  border-color: #999;
  outline: none;
}

/* Submit button */
.form-actions {
  margin-top: 0;
}

.everify-submit-btn {
  background-color: #cc0000;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.everify-submit-btn:hover {
  background-color: #a00000;
}

.everify-submit-btn:active {
  background-color: #800000;
}

/* Completed courses table */
.everify-form table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.everify-form table th {
  background-color: #cc0000;
  color: #fff;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #a00000;
}

.everify-form table td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.everify-form table tr:hover {
  background-color: #f9f9f9;
}

.everify-form table a {
  color: #cc0000;
  text-decoration: none;
  font-weight: 600;
}

.everify-form table a:hover {
  text-decoration: underline;
}

/* Bottom text */
.everify-bottom-text {
  margin-top: 40px;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 4px;
  text-align: center;
}

.everify-bottom-text p {
  margin: 0;
  color: #666;
}

.everify-bottom-text a {
  color: #cc0000;
  text-decoration: none;
  font-weight: 600;
}

.everify-bottom-text a:hover {
  text-decoration: underline;
}

/* Error messages */
.form-item--error-message {
  color: #cc0000;
  font-size: 14px;
  margin-top: 5px;
  font-weight: 600;
}

.form-item--error .everify-input {
  border-color: #cc0000;
}

/* Empty message */
.everify-form .empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
  .everify-title {
    font-size: 24px;
  }

  .everify-description {
    padding: 15px;
  }

  .everify-form-wrapper {
    max-width: 100%;
  }

  .everify-submit-btn {
    width: 100%;
    padding: 14px;
  }

  .everify-form table {
    font-size: 14px;
  }

  .everify-form table th,
  .everify-form table td {
    padding: 8px;
  }
}

/* Success message */
.messages--status {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  border-left: 4px solid #28a745;
}

/* Error message */
.messages--error {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  border-left: 4px solid #cc0000;
}
