
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*
add-page suscripción
*/
 
.add-page .content {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.add-page h1 {
    color: #333;
    margin-bottom: 20px;
}

.add-page p {
    color: #666;
    line-height: 1.6;
}

/* Botón lateral */
.add-page .suscribirse-button {
    position: fixed;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #790722 0%, #c43920 100%);
    color: white;
    padding: 10px 5px;
    border: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: -5px 5px 20px rgba(255, 65, 108, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.add-page .suscribirse-button:hover {
    padding-right: 20px;
    box-shadow: -8px 8px 30px rgba(255, 65, 108, 0.6);
}

/* Panel del formulario */
.add-page .form-panel {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    padding: 40px 30px;
    overflow-y: auto;
}

.add-page .form-panel.active {
    right: 0;
}

.add-page .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #c43920;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-page .close-btn:hover {
    background: #790722;
    transform: rotate(90deg);
}

.add-page .form-panel h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.add-page .form-panel p {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.add-page .form-group {
    margin-bottom: 25px;
}

.add-page .form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.add-page .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.add-page .form-group input:focus {
    outline: none;
    border-color: #c43920;
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.1);
}

.add-page .submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #790722 0%, #c43920 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.add-page .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 65, 108, 0.4);
}

/* Overlay */
.add-page .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.add-page .overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .add-page .form-panel {
        width: 100%;
        right: -100%;
    }
}