/* Medical Certificate System Styles */

/* Reset and Base Styles */
body,
.mcs-container {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
}

/* Garantir que o plugin não seja afetado por estilos externos */
.mcs-container {
  box-sizing: border-box;
}

.mcs-container * {
  box-sizing: border-box;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
}

.mcs-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
  color: #333;
  line-height: 1.5;
  box-sizing: border-box;
}

.mcs-container * {
  box-sizing: border-box;
}

.mcs-container a {
  color: #2563eb;
  text-decoration: none;
}

.mcs-container a:hover {
  text-decoration: underline;
}

.mcs-container h1,
.mcs-container h2,
.mcs-container h3,
.mcs-container h4,
.mcs-container h5,
.mcs-container h6 {
  margin-top: 0;
  font-weight: 700;
  line-height: 1.2;
}

.mcs-section {
  padding: 4rem 0;
}

.mcs-section-alt {
  background-color: #f9fafb;
}

.mcs-section-cta {
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: white;
  text-align: center;
}

.mcs-section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mcs-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.mcs-section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111827;
}

.mcs-section-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto;
}

/* Header */
.mcs-header {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.mcs-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mcs-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.mcs-logo .mcs-icon {
  color: #22c55e;
  margin-right: 0.5rem;
}

.mcs-nav {
  display: none;
}

@media (min-width: 768px) {
  .mcs-nav {
    display: flex;
  }
}

.mcs-nav a {
  margin: 0 1rem;
  color: #4b5563;
  transition: color 0.2s;
}

.mcs-nav a:hover {
  color: #111827;
  text-decoration: none;
}

/* Buttons */
/* Garantir que os botões sejam clicáveis */
.mcs-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.5rem !important;
  background-color: #22c55e !important;
  color: white !important;
  border: none !important;
  border-radius: 0.375rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 10 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  font-size: 1rem !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  line-height: 1.5 !important;
  user-select: none !important;
  outline: none !important;
}

.mcs-button:hover {
  background-color: #16a34a !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.mcs-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.mcs-button:disabled {
  background-color: #9ca3af !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.7 !important;
}

.mcs-button svg {
  width: 1em !important;
  height: 1em !important;
  flex-shrink: 0 !important;
}

.mcs-button-lg {
  padding: 0.875rem 1.75rem !important;
  font-size: 1.125rem !important;
}

.mcs-button-outline {
  background-color: transparent !important;
  border: 1px solid #22c55e !important;
  color: #22c55e !important;
}

.mcs-button-outline:hover {
  background-color: #f0fdf4 !important;
  border-color: #16a34a !important;
  color: #16a34a !important;
}

.mcs-button-white {
  background-color: white !important;
  color: #16a34a !important;
}

.mcs-button-white:hover {
  background-color: #f9fafb !important;
}

.mcs-button-prev {
  background-color: #f3f4f6 !important;
  color: #4b5563 !important;
}

.mcs-button-prev:hover {
  background-color: #e5e7eb !important;
  color: #111827 !important;
}

.mcs-button-edit {
  background-color: #f59e0b !important;
  color: white !important;
}

.mcs-button-edit:hover {
  background-color: #d97706 !important;
}

/* Hero Section */
.mcs-hero {
  background: linear-gradient(to right, #f0fdf4, #ecfdf5);
  padding: 4rem 0;
}

.mcs-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .mcs-hero-content {
    flex-direction: row;
  }
}

.mcs-hero-text {
  flex: 1;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .mcs-hero-text {
    margin-bottom: 0;
    margin-right: 2rem;
  }
}

.mcs-hero-text h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: #111827;
}

@media (min-width: 768px) {
  .mcs-hero-text h1 {
    font-size: 3rem;
  }
}

.mcs-hero-text h1 span {
  color: #16a34a;
}

.mcs-hero-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.mcs-hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .mcs-hero-buttons {
    flex-direction: row;
  }
}

.mcs-hero-image {
  flex: 1;
}

.mcs-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mcs-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #ecfdf5;
  color: #16a34a;
  border: 1px solid #d1fae5;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Tabs */
.mcs-tabs {
  max-width: 800px;
  margin: 0 auto;
}

.mcs-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mcs-tab-button {
  padding: 0.75rem;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mcs-tab-button.active {
  background-color: #22c55e;
  color: white;
  border-color: #22c55e;
}

.mcs-tab-content {
  display: none;
}

.mcs-tab-content.active {
  display: block;
}

/* Cards */
.mcs-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.mcs-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.mcs-card-content {
  padding: 1.5rem;
}

/* Certificate Info */
.mcs-certificate-info {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .mcs-certificate-info {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.mcs-certificate-text {
  flex: 2;
}

.mcs-certificate-image {
  flex: 1;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .mcs-certificate-image {
    margin-top: 0;
  }
}

.mcs-certificate-image img {
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
}

.mcs-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.mcs-check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.mcs-check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%2322c55e"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" /></svg>');
  background-size: contain;
}

/* Steps */
.mcs-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .mcs-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mcs-step {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.mcs-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mcs-step-icon {
  width: 4rem;
  height: 4rem;
  background-color: #ecfdf5;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.mcs-step-icon .mcs-icon {
  font-size: 2rem;
  color: #22c55e;
}

.mcs-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* Benefits */
.mcs-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .mcs-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mcs-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mcs-benefit-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.mcs-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mcs-benefit-card .mcs-icon {
  font-size: 2.5rem;
  color: #22c55e;
  margin-bottom: 1rem;
}

.mcs-benefit-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* Testimonials */
.mcs-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mcs-testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mcs-testimonial {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.mcs-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mcs-testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.mcs-testimonial-avatar {
  width: 3rem;
  height: 3rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  margin-right: 1rem;
  overflow: hidden;
}

.mcs-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mcs-stars {
  color: #fbbf24;
  font-size: 0.875rem;
}

/* FAQ */
.mcs-faq {
  max-width: 800px;
  margin: 0 auto;
}

.mcs-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mcs-faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mcs-faq-question {
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mcs-faq-question h3 {
  margin: 0;
  font-size: 1.125rem;
}

.mcs-faq-answer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: none;
}

.mcs-faq-item.active .mcs-faq-answer {
  display: block;
}

.mcs-faq-item.active .mcs-icon-chevron-down {
  transform: rotate(180deg);
}

/* Footer */
.mcs-footer {
  background-color: #111827;
  color: white;
  padding: 4rem 0 2rem;
}

.mcs-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mcs-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .mcs-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mcs-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mcs-footer-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.mcs-footer-logo .mcs-icon {
  color: #4ade80;
  margin-right: 0.5rem;
}

.mcs-footer-col p {
  color: #9ca3af;
}

.mcs-footer-col h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.mcs-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mcs-footer-col ul li {
  margin-bottom: 0.5rem;
}

.mcs-footer-col ul li a {
  color: #9ca3af;
  transition: color 0.2s;
}

.mcs-footer-col ul li a:hover {
  color: white;
  text-decoration: none;
}

.mcs-footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* CTA */
.mcs-cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* Form Container - Proteção contra Elementor */
.mcs-form-container {
  max-width: 800px !important;
  margin: 0 auto !important;
  background-color: white !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  padding: 2rem !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  position: relative !important;
  isolation: isolate !important;
}

.mcs-form-container * {
  box-sizing: border-box !important;
  font-family: inherit !important;
}

/* Progress Bar */
.mcs-progress-bar {
  margin-bottom: 2rem !important;
}

.mcs-progress-steps {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 1rem !important;
}

.mcs-progress-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex: 1 !important;
  position: relative !important;
}

.mcs-progress-step:not(:last-child):after {
  content: "" !important;
  position: absolute !important;
  top: 1rem !important;
  left: 50% !important;
  width: 100% !important;
  height: 2px !important;
  background-color: #e5e7eb !important;
  z-index: 0 !important;
}

.mcs-progress-step.active .mcs-step-number,
.mcs-progress-step.completed .mcs-step-number {
  background-color: #22c55e !important;
  color: white !important;
}

.mcs-progress-step.completed:after {
  background-color: #22c55e !important;
}

.mcs-step-number {
  width: 2rem !important;
  height: 2rem !important;
  background-color: #f3f4f6 !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 500 !important;
  margin-bottom: 0.5rem !important;
  z-index: 1 !important;
  transition: all 0.3s ease !important;
  font-size: 0.875rem !important;
}

.mcs-step-label {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  text-align: center !important;
  display: none !important;
}

@media (min-width: 768px) {
  .mcs-step-label {
    display: block !important;
  }
}

.mcs-progress-bar-inner {
  height: 0.5rem !important;
  background-color: #22c55e !important;
  border-radius: 9999px !important;
  transition: width 0.3s !important;
}

.mcs-form-step {
  display: none !important;
  animation: fadeIn 0.5s ease !important;
}

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

.mcs-form-step.active {
  display: block !important;
}

.mcs-form-step h3 {
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
  color: #111827 !important;
  font-weight: 600 !important;
}

.mcs-form-step p {
  color: #6b7280 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.6 !important;
}

/* Form Buttons - Proteção extra */
.mcs-form-buttons {
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 2rem !important;
  position: relative !important;
  z-index: 10 !important;
  gap: 1rem !important;
}

.mcs-form-group {
  margin-bottom: 1.5rem !important;
}

.mcs-form-group label {
  display: block !important;
  margin-bottom: 0.5rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  font-size: 0.875rem !important;
}

.mcs-form-group input,
.mcs-form-group select {
  width: 100% !important;
  padding: 0.75rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background-color: white !important;
  font-family: inherit !important;
}

.mcs-form-group input:focus,
.mcs-form-group select:focus {
  outline: none !important;
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2) !important;
}

.mcs-error-message {
  color: #ef4444 !important;
  font-size: 0.875rem !important;
  margin-top: 0.25rem !important;
}

.mcs-help-text {
  color: #6b7280 !important;
  font-size: 0.75rem !important;
  margin-top: 0.25rem !important;
  display: block !important;
}

/* Certificate Types */
.mcs-certificate-types {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
}

@media (min-width: 640px) {
  .mcs-certificate-types {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.mcs-certificate-type {
  cursor: pointer !important;
}

.mcs-certificate-type input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mcs-certificate-type-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 1.5rem !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease !important;
  background-color: white !important;
  text-align: center !important;
}

.mcs-certificate-type input:checked + .mcs-certificate-type-inner {
  border-color: #22c55e !important;
  background-color: #f0fdf4 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.mcs-certificate-type-inner .mcs-icon {
  margin-bottom: 1rem !important;
  transition: all 0.3s ease !important;
}

.mcs-certificate-type-inner .mcs-icon svg {
  width: 40px !important;
  height: 40px !important;
  color: #6b7280 !important;
}

.mcs-certificate-type input:checked + .mcs-certificate-type-inner .mcs-icon svg {
  color: #22c55e !important;
}

.mcs-certificate-type-inner span {
  font-weight: 500 !important;
  font-size: 1rem !important;
  color: #374151 !important;
}

/* Disease List */
.mcs-disease-list {
  max-height: 400px !important;
  overflow-y: auto !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.5rem !important;
  padding: 1rem !important;
  background-color: white !important;
}

.mcs-radio {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0.5rem !important;
  border-radius: 0.25rem !important;
}

.mcs-radio:hover {
  background-color: #f9fafb !important;
}

.mcs-radio input {
  margin-right: 0.5rem !important;
  width: auto !important;
  padding: 0 !important;
}

.mcs-radio-label {
  font-size: 0.875rem !important;
  color: #374151 !important;
}

/* Days Options */
.mcs-days-options {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

@media (min-width: 640px) {
  .mcs-days-options {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 768px) {
  .mcs-days-options {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Confirmation */
.mcs-confirmation-card {
  background-color: #f9fafb !important;
  border-radius: 0.5rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid #e5e7eb !important;
}

.mcs-confirmation-data {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

@media (min-width: 640px) {
  .mcs-confirmation-data {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.mcs-confirmation-row {
  display: flex !important;
  flex-direction: column !important;
}

.mcs-confirmation-label {
  font-weight: 500 !important;
  color: #6b7280 !important;
  margin-bottom: 0.25rem !important;
  font-size: 0.875rem !important;
}

.mcs-confirmation-value {
  font-size: 1rem !important;
  color: #111827 !important;
  font-weight: 500 !important;
}

/* Payment */
.mcs-payment-info {
  margin-bottom: 2rem !important;
}

.mcs-payment-badge {
  display: flex !important;
  align-items: flex-start !important;
  background-color: #f0fdf4 !important;
  border: 1px solid #d1fae5 !important;
  border-radius: 0.5rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  gap: 1rem !important;
}

.mcs-payment-badge svg {
  flex-shrink: 0 !important;
  color: #22c55e !important;
  width: 24px !important;
  height: 24px !important;
  margin-top: 0.125rem !important;
}

.mcs-payment-badge p {
  margin: 0 !important;
  color: #16a34a !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.mcs-payment-summary {
  background-color: #f9fafb !important;
  border-radius: 0.5rem !important;
  padding: 1.5rem !important;
  border: 1px solid #e5e7eb !important;
}

.mcs-payment-summary h4 {
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
  color: #111827 !important;
  font-weight: 600 !important;
}

.mcs-payment-item {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.875rem !important;
}

.mcs-payment-total {
  display: flex !important;
  justify-content: space-between !important;
  font-weight: 700 !important;
  border-top: 1px solid #e5e7eb !important;
  padding-top: 1rem !important;
  margin-top: 0.5rem !important;
  font-size: 1.125rem !important;
}

.mcs-payment-method {
  margin: 1.5rem 0 !important;
}

.mcs-payment-method h4 {
  font-size: 1rem !important;
  margin-bottom: 0.75rem !important;
  color: #111827 !important;
  font-weight: 600 !important;
}

.mcs-payment-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.mcs-payment-option {
  cursor: pointer !important;
}

.mcs-payment-option input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mcs-payment-option-inner {
  display: flex !important;
  align-items: center !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
  transition: all 0.3s ease !important;
  background-color: white !important;
  gap: 0.75rem !important;
}

.mcs-payment-option input:checked + .mcs-payment-option-inner {
  border-color: #22c55e !important;
  background-color: #f0fdf4 !important;
}

.mcs-payment-option-inner svg {
  width: 24px !important;
  height: 24px !important;
  color: #22c55e !important;
  flex-shrink: 0 !important;
}

.mcs-payment-option-inner span {
  font-weight: 500 !important;
  color: #374151 !important;
}

.mcs-pix-key-section {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #e5e7eb !important;
}

.mcs-payment-terms {
  border-top: 1px solid #e5e7eb !important;
  padding-top: 1rem !important;
  margin-top: 1rem !important;
}

.mcs-payment-terms p {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  margin: 0 !important;
}

/* Modal */
.mcs-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  padding: 1rem !important;
}

.mcs-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.mcs-modal {
  background-color: white !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
  max-width: 500px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  transform: translateY(-20px) !important;
  transition: all 0.3s ease !important;
}

.mcs-modal-overlay.active .mcs-modal {
  transform: translateY(0) !important;
}

.mcs-modal-header {
  padding: 1.5rem 1.5rem 0 1.5rem !important;
  border-bottom: 1px solid #e5e7eb !important;
  margin-bottom: 1.5rem !important;
}

.mcs-modal-header h3 {
  margin: 0 !important;
  font-size: 1.25rem !important;
  color: #111827 !important;
  font-weight: 600 !important;
  padding-bottom: 1rem !important;
}

.mcs-modal-body {
  padding: 0 1.5rem !important;
}

.mcs-modal-summary {
  text-align: center !important;
}

.mcs-modal-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 4rem !important;
  height: 4rem !important;
  background-color: #f0fdf4 !important;
  border-radius: 9999px !important;
  margin: 0 auto 1.5rem !important;
}

.mcs-modal-icon svg {
  width: 48px !important;
  height: 48px !important;
  color: #22c55e !important;
}

.mcs-modal-summary h4 {
  font-size: 1.125rem !important;
  margin-bottom: 1.5rem !important;
  color: #111827 !important;
  font-weight: 600 !important;
}

.mcs-modal-data {
  text-align: left !important;
  background-color: #f9fafb !important;
  border-radius: 0.5rem !important;
  padding: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.mcs-modal-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.5rem 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.mcs-modal-row:last-child {
  border-bottom: none !important;
}

.mcs-modal-label {
  font-weight: 500 !important;
  color: #6b7280 !important;
  font-size: 0.875rem !important;
}

.mcs-modal-value {
  font-weight: 600 !important;
  color: #111827 !important;
  font-size: 0.875rem !important;
  text-align: right !important;
  max-width: 60% !important;
  word-break: break-word !important;
}

.mcs-modal-warning {
  display: flex !important;
  align-items: flex-start !important;
  background-color: #fef3c7 !important;
  border: 1px solid #f59e0b !important;
  border-radius: 0.5rem !important;
  padding: 1rem !important;
  gap: 0.75rem !important;
}

.mcs-modal-warning svg {
  flex-shrink: 0 !important;
  color: #d97706 !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: 0.125rem !important;
}

.mcs-modal-warning p {
  margin: 0 !important;
  color: #92400e !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}

.mcs-modal-footer {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0.75rem !important;
  padding: 1.5rem !important;
  border-top: 1px solid #e5e7eb !important;
  margin-top: 1.5rem !important;
}

.mcs-modal-cancel {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.375rem !important;
  cursor: pointer !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.mcs-modal-cancel:hover {
  background-color: #e2e8f0 !important;
}

.mcs-modal-confirm {
  background-color: #22c55e !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.375rem !important;
  cursor: pointer !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.mcs-modal-confirm:hover {
  background-color: #16a34a !important;
}

.mcs-modal-confirm:disabled {
  background-color: #9ca3af !important;
  cursor: not-allowed !important;
}

.mcs-modal-confirm svg {
  width: 16px !important;
  height: 16px !important;
}

/* Admin Styles */
.mcs-admin-wrap {
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
}

.mcs-admin-wrap h1 {
  margin-bottom: 20px;
  color: #1e293b;
  font-size: 24px;
  font-weight: 700;
}

/* Dashboard Styles */
.mcs-dashboard-header {
  margin-bottom: 20px;
}

.mcs-welcome-panel {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.mcs-welcome-panel:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #22c55e, #16a34a);
}

.mcs-welcome-panel h2 {
  margin-top: 0;
  font-size: 20px;
  color: #1e293b;
  margin-bottom: 12px;
}

.mcs-welcome-panel p {
  color: #64748b;
  margin-bottom: 16px;
}

.mcs-welcome-panel-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mcs-dashboard-widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 782px) {
  .mcs-dashboard-widgets {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .mcs-dashboard-widgets {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.mcs-dashboard-widget {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mcs-dashboard-widget:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.mcs-dashboard-widget-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px;
  background-color: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mcs-dashboard-widget-header h3 {
  margin: 0;
  font-size: 16px;
  color: #1e293b;
  font-weight: 600;
}

.mcs-dashboard-widget-content {
  padding: 16px;
}

/* Stats Grid */
.mcs-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 782px) {
  .mcs-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mcs-stat-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.mcs-stat-box:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mcs-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #22c55e;
}

.mcs-stat-label {
  display: block;
  font-size: 14px;
  color: #64748b;
}

/* Tables */
.mcs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mcs-table th,
.mcs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.mcs-table th {
  font-weight: 600;
  color: #1e293b;
  background-color: #f8fafc;
}

.mcs-table tr:last-child td {
  border-bottom: none;
}

.mcs-table tr:hover td {
  background-color: #f1f5f9;
}

.mcs-view-all {
  margin-top: 16px;
  text-align: right;
}

.mcs-view-all a {
  color: #22c55e;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.mcs-view-all a:hover {
  text-decoration: underline;
}

/* Quick Links */
.mcs-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mcs-quick-links li {
  margin-bottom: 12px;
}

.mcs-quick-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #22c55e;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mcs-quick-links a:hover {
  background-color: #f0fdf4;
  color: #16a34a;
}

.mcs-quick-links .dashicons {
  margin-right: 8px;
  color: #22c55e;
}

/* Status Badges */
.mcs-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mcs-status-pending {
  background-color: #eff6ff;
  color: #3b82f6;
}

.mcs-status-paid {
  background-color: #f0fdf4;
  color: #22c55e;
}

.mcs-status-completed {
  background-color: #f1f5f9;
  color: #64748b;
}

/* Certificates List */
.mcs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  background-color: #f8fafc;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.mcs-search-box {
  display: flex;
  gap: 8px;
  flex: 1;
}

.mcs-search-box input[type="search"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 14px;
}

.mcs-filter-box {
  display: flex;
  gap: 8px;
}

.mcs-filter-box select {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 14px;
}

.mcs-table-container {
  margin-top: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mcs-certificates-table {
  margin-top: 0;
  width: 100%;
  border-collapse: collapse;
}

.mcs-certificates-table th,
.mcs-certificates-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.mcs-certificates-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #1e293b;
}

.mcs-certificates-table tr:hover td {
  background-color: #f1f5f9;
}

.mcs-certificates-table .button {
  margin-right: 4px;
}

.mcs-pagination {
  margin-top: 20px;
  text-align: right;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.mcs-pagination .page-numbers {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 2px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  text-decoration: none;
  color: #64748b;
}

.mcs-pagination .page-numbers.current {
  background-color: #22c55e;
  color: white;
  border-color: #22c55e;
}

.mcs-pagination .page-numbers:hover:not(.current) {
  background-color: #f1f5f9;
}

/* Certificate Detail */
.mcs-certificate-detail {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

.mcs-certificate-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mcs-certificate-status h3 {
  display: inline-block;
  margin: 0 10px 0 0;
  font-size: 16px;
  color: #1e293b;
}

.mcs-certificate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mcs-status-form {
  display: flex;
  gap: 8px;
}

.mcs-certificate-sections {
  padding: 16px;
}

.mcs-certificate-section {
  margin-bottom: 24px;
}

.mcs-certificate-section h3 {
  margin-top: 0;
  font-size: 18px;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.mcs-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.mcs-detail-table th,
.mcs-detail-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.mcs-detail-table th {
  width: 30%;
  font-weight: 600;
  color: #64748b;
  vertical-align: top;
}

.mcs-detail-table td {
  color: #1e293b;
}

/* Delete Button */
.mcs-delete-button {
  background-color: #fee2e2;
  color: #ef4444;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.mcs-delete-button:hover {
  background-color: #fecaca;
}

.mcs-delete-button .mcs-icon {
  margin-right: 4px;
}

/* PIX Payment Card - Elegant Design */
.pix-payment-container {
  margin: 2rem 0 !important;
  perspective: 1000px !important;
}

.pix-payment-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3) !important;
  overflow: hidden !important;
  position: relative !important;
  transform: translateY(0) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.pix-payment-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4) !important;
}

.pix-payment-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #00d4aa, #00d4aa, #ffffff, #00d4aa) !important;
  background-size: 200% 100% !important;
  animation: shimmer 2s infinite !important;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.pix-header {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 2rem !important;
}

.pix-title {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  color: white !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.pix-icon-wrapper {
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 0.75rem !important;
  border-radius: 12px !important;
  backdrop-filter: blur(10px) !important;
}

.pix-icon {
  width: 24px !important;
  height: 24px !important;
  color: white !important;
}

.pix-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0.5rem 0 0 0 !important;
  font-size: 1rem !important;
}

.pix-content {
  background: white !important;
  padding: 2rem !important;
}

.pix-data-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  margin-bottom: 2rem !important;
}

.pix-field {
  position: relative !important;
}

.pix-label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  margin-bottom: 0.75rem !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.label-icon {
  width: 16px !important;
  height: 16px !important;
  color: #667eea !important;
}

.amount-icon {
  font-size: 16px !important;
}

.pix-key-container {
  display: flex !important;
  gap: 0.75rem !important;
  align-items: center !important;
  background: #f7fafc !important;
  padding: 1rem !important;
  border-radius: 12px !important;
  border: 2px solid #e2e8f0 !important;
  transition: all 0.3s ease !important;
}

.pix-key-container:hover {
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.pix-key-value {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  font-family: "Monaco", "Menlo", monospace !important;
  font-size: 0.875rem !important;
  color: #2d3748 !important;
  font-weight: 600 !important;
  word-break: break-all !important;
}

.copy-button {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: white !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  white-space: nowrap !important;
}

.copy-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
  background: linear-gradient(135deg, #5a67d8, #6b46c1) !important;
}

.copy-button.copied {
  background: linear-gradient(135deg, #48bb78, #38a169) !important;
}

.button-icon {
  width: 16px !important;
  height: 16px !important;
}

.button-icon.success {
  color: white !important;
}

.pix-value-display,
.pix-amount-display {
  background: #f7fafc !important;
  padding: 1rem !important;
  border-radius: 12px !important;
  border: 2px solid #e2e8f0 !important;
  font-weight: 600 !important;
  color: #2d3748 !important;
  font-size: 1rem !important;
}

.pix-amount-display {
  background: linear-gradient(135deg, #48bb78, #38a169) !important;
  color: white !important;
  font-size: 1.25rem !important;
  text-align: center !important;
  font-weight: 700 !important;
}

.pix-instructions {
  background: linear-gradient(135deg, #edf2f7, #e2e8f0) !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  margin-bottom: 1.5rem !important;
}

.instruction-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: 700 !important;
  color: #2d3748 !important;
}

.instruction-icon {
  width: 20px !important;
  height: 20px !important;
  color: #667eea !important;
}

.instruction-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.instruction-list li {
  color: #4a5568 !important;
  font-weight: 500 !important;
  padding-left: 0 !important;
}

.pix-security-badge {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  background: linear-gradient(135deg, #48bb78, #38a169) !important;
  color: white !important;
  padding: 1rem 1.5rem !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3) !important;
}

.security-icon {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
}

.security-text {
  display: flex !important;
  flex-direction: column !important;
}

.security-text strong {
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.security-text span {
  font-size: 0.875rem !important;
  opacity: 0.9 !important;
}

/* WhatsApp Float Button - Elegant Design */
.whatsapp-float-container {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  z-index: 9999 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.whatsapp-expanded-card {
  background: white !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  width: 350px !important;
  margin-bottom: 1rem !important;
  overflow: hidden !important;
  animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  border: 1px solid rgba(37, 211, 102, 0.2) !important;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-card-header {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  padding: 1.5rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
}

.whatsapp-card-header::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #ffffff, #25d366, #ffffff) !important;
  background-size: 200% 100% !important;
  animation: shimmer 2s infinite !important;
}

.whatsapp-header-content {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.whatsapp-icon-wrapper {
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 0.75rem !important;
  border-radius: 12px !important;
  backdrop-filter: blur(10px) !important;
}

.whatsapp-header-icon {
  width: 24px !important;
  height: 24px !important;
  color: white !important;
}

.whatsapp-header-text h4 {
  color: white !important;
  margin: 0 !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
}

.whatsapp-header-text span {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem !important;
}

.close-button {
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: white !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  padding: 0 !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: rotate(90deg) !important;
}

.close-icon {
  width: 16px !important;
  height: 16px !important;
}

.whatsapp-card-content {
  padding: 1.5rem !important;
}

.whatsapp-description {
  color: #4a5568 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.6 !important;
  font-size: 0.875rem !important;
}

.pix-summary {
  background: #f7fafc !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid #e2e8f0 !important;
}

.pix-summary-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 0.75rem !important;
  font-weight: 600 !important;
  color: #2d3748 !important;
  font-size: 0.875rem !important;
}

.summary-icon {
  width: 16px !important;
  height: 16px !important;
  color: #25d366 !important;
}

.pix-summary-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.875rem !important;
}

.summary-row span {
  color: #718096 !important;
}

.summary-row code {
  background: #edf2f7 !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 4px !important;
  font-size: 0.75rem !important;
  color: #2d3748 !important;
  font-family: "Monaco", "Menlo", monospace !important;
}

.summary-row strong {
  color: #25d366 !important;
  font-weight: 700 !important;
}

.whatsapp-send-button {
  width: 100% !important;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: white !important;
  border: none !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.whatsapp-send-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
  background: linear-gradient(135deg, #128c7e, #075e54) !important;
}

.send-icon {
  width: 20px !important;
  height: 20px !important;
}

.whatsapp-float-button-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.whatsapp-float-button {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative !important;
  overflow: hidden !important;
}

.whatsapp-float-button::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) !important;
  transition: all 0.6s ease !important;
}

.whatsapp-float-button:hover::before {
  width: 100px !important;
  height: 100px !important;
}

.whatsapp-float-button:hover {
  transform: translateY(-5px) scale(1.1) !important;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5) !important;
  animation: pulse 2s infinite !important;
}

@keyframes pulse {
  0% {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
  }
}

.float-icon {
  width: 28px !important;
  height: 28px !important;
  z-index: 2 !important;
  position: relative !important;
}

.whatsapp-tooltip {
  position: absolute !important;
  bottom: 100% !important;
  right: 0 !important;
  margin-bottom: 0.75rem !important;
  background: #2d3748 !important;
  color: white !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  animation: bounce 2s infinite !important;
  z-index: 10 !important;
}

.tooltip-arrow {
  position: absolute !important;
  top: 100% !important;
  right: 1rem !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 6px solid transparent !important;
  border-right: 6px solid transparent !important;
  border-top: 6px solid #2d3748 !important;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .whatsapp-expanded-card {
    width: 300px !important;
  }

  .whatsapp-float-container {
    bottom: 1.5rem !important;
    right: 1.5rem !important;
  }

  .pix-key-container {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .copy-button {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .whatsapp-expanded-card {
    width: 280px !important;
  }

  .pix-payment-card {
    margin: 1rem !important;
  }

  .pix-header,
  .pix-content {
    padding: 1.5rem !important;
  }
}

/* Elegant PIX Modal Styles */
.elegant-pix-modal {
  max-width: 600px !important;
  width: 95% !important;
  background: white !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
  animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.elegant-pix-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 2rem !important;
  position: relative !important;
}

.elegant-pix-header::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #00d4aa, #00d4aa, #ffffff, #00d4aa) !important;
  background-size: 200% 100% !important;
  animation: shimmer 2s infinite !important;
}

.pix-header-content {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
}

.pix-header-content .pix-icon-wrapper {
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 1rem !important;
  border-radius: 16px !important;
  backdrop-filter: blur(10px) !important;
}

.pix-header-content .pix-icon {
  width: 32px !important;
  height: 32px !important;
  color: white !important;
}

.pix-header-text h3 {
  color: white !important;
  margin: 0 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.pix-header-text p {
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0.5rem 0 0 0 !important;
  font-size: 1rem !important;
}

.elegant-pix-content {
  padding: 2rem !important;
}

.elegant-pix-footer {
  display: flex !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1.5rem 2rem 2rem 2rem !important;
  border-top: 1px solid #e2e8f0 !important;
}

.pix-close-button {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: none !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.pix-close-button:hover {
  background: #e2e8f0 !important;
  color: #475569 !important;
  transform: translateY(-1px) !important;
}

.pix-close-button svg {
  width: 16px !important;
  height: 16px !important;
}

.pix-whatsapp-button {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: white !important;
  border: none !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.pix-whatsapp-button:hover {
  background: linear-gradient(135deg, #128c7e, #075e54) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

.pix-whatsapp-button svg {
  width: 20px !important;
  height: 20px !important;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  .elegant-pix-modal {
    max-width: 95% !important;
    margin: 1rem !important;
  }

  .elegant-pix-header,
  .elegant-pix-content {
    padding: 1.5rem !important;
  }

  .elegant-pix-footer {
    flex-direction: column !important;
    padding: 1.5rem !important;
  }

  .pix-header-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .pix-key-container {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .copy-button {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .pix-header-text h3 {
    font-size: 1.25rem !important;
  }

  .pix-header-text p {
    font-size: 0.875rem !important;
  }
}
