:root {
    --primary-color: #dce8c0; /* Verde oliva */
    --secondary-color: #556b2f; /* Verde oscuro oliva */
    --light-color: #f5f5dc; /* Beige claro */
    --accent-color: #8fbc8f; /* Verde mar claro */
    --text-color: #333;
    --text-light: #f8f8f8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--text-color);
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--accent-color);
}

header h1 {
    color: var(--secondary-color);
    margin: 0;
}

header p {
    color: var(--primary-color);
    font-style: italic;
    margin-top: 5px;
}

.wallet-section {
    text-align: center;
    margin-bottom: 30px;
}

#connectWallet {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

#connectWallet:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

#walletInfo {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(143, 188, 143, 0.1);
    border-radius: 5px;
}

#walletInfo p {
    margin: 5px 0;
    font-size: 14px;
}

#walletAddress {
    font-family: monospace;
    font-weight: bold;
    color: var(--secondary-color);
}

.actions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-card {
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
}

.action-toggle {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.action-toggle:hover {
    background-color: var(--secondary-color);
}

.action-toggle .arrow {
    transition: transform 0.3s ease;
}

.action-toggle.active .arrow {
    transform: rotate(180deg);
}

.action-form {
    padding: 20px;
    background-color: rgba(143, 188, 143, 0.05);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(107, 142, 35, 0.2);
}

.price-estimate,
.roi-estimate {
    font-size: 14px;
    color: var(--secondary-color);
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #3a4a1f;
}

.transaction-status {
    margin-top: 30px;
    padding: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    background-color: rgba(143, 188, 143, 0.1);
}

.transaction-status h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    transition: width 0.5s ease;
}

.hidden {
    display: none;
}
/* Estilo base del botón de socio */
.nav__owner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background-color: var(--accent-color); /* Usando el color dorado de tu paleta */
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

/* Estilo hover */
.nav__owner-btn:hover {
  background-color: var(--primary-color-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}


/* Versión móvil */
@media (max-width: 768px) {
  .nav__owner-btn {
    margin-left: auto; /* Lo coloca a la derecha en móvil */
    margin-right: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .nav__links.active ~ .nav__owner-btn {
    margin-top: 1.5rem;
    width: calc(100% - 4rem);
    margin-left: 2rem;
  }
}

/* Efecto activo */
.nav__owner-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilo base de la barra de navegación */
nav {
  background-color: var(--primary-color-dark); /* Fondo verde oscuro */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Estilo de los enlaces del menú */
.nav__links a {
  color: var(--extra-light); /* Texto claro */
  font-weight: 500;
  padding: 0.75rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

/* Efecto hover y active */
.nav__links a:hover,
.nav__links a:focus {
  color: var(--accent-color); /* Color dorado al interactuar */
}

/* Subrayado animado */
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a:focus::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Estilo del botón menú móvil */
.nav__menu__btn .menu-icon-bar {
  background-color: var(--extra-light); /* Color claro para el icono hamburguesa */
}

/* Menú móvil abierto */
.nav__links.active {
  background-color: var(--primary-color-dark);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* Versión móvil */
@media (max-width: 768px) {
  .nav__links {
    background-color: var(--primary-color-dark);
  }
  
  .nav__links a {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .nav__links a::after {
    bottom: 0.75rem;
    left: 2rem;
    width: calc(100% - 4rem);
  }
}