* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
 
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f3e5f5, #ffffff); 
    color: #333;
    line-height: 1.6;
    text-align: center;
    padding-top: 120px; 
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1200px;
    margin: 0 auto; 
  }
  
  p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2em;
    text-align: center;
    color: #555;
    line-height: 1.8;
  }

header {
  background: rgba(170, 140, 175, 0.85); 
  backdrop-filter: blur(10px); 
  color: #fff;
  padding: 25px 40px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  height: 100px; 
}

header img {
  width: 90px; 
  height: auto; 
  margin-right: 20px;
  vertical-align: middle;
  border-radius: 10px; 
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); 
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

header img:hover {
  transform: scale(1.1); 
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); 
}

header h1 {
  display: inline-block;
  font-size: 3.5em; 
  font-weight: normal;
  margin-left: 15px;
  color: #fff;
  font-family: "Brush Script MT", cursive; 
  text-transform: none; 
  letter-spacing: 1.5px; 
  font-style: italic;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3); 
}
  
  
  nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 12px;
  flex-wrap: wrap;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  background-color: #572364;
  color: #fff;
  font-size: 1.3em;
  text-decoration: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.2);
}

nav ul li a span {
  position: absolute;
  bottom: -28px;
  font-size: 0.75em;
  background: #8e6995;
  color: #fff;
  padding: 3px 8px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

nav ul li a:hover {
  background-color: #8e6995;
  transform: scale(1.1);
}

nav ul li a:hover span {
  opacity: 1;
  transform: translateY(0);
}

  .registro-container {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.registro-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
}

h1 {
    font-size: 2em;
    color: #5a4a42;
}

p {
    color: #7d6656;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

button {
    background-color: #754864;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #8e4a61;
}

.or {
    margin: 15px 0;
    font-weight: bold;
    color: #5a4a42;
}

.social-buttons button {
    width: 48%;
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.google {
    background-color: #444751;
    color: white;
}

.facebook {
    background-color: #444751;
    color: white;
}

.social-buttons button:hover {
    opacity: 0.8;
}


/* Estilos para la página de bienvenida */
.welcome-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.welcome-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.welcome-header {
    background: linear-gradient(135deg, #8e44ad 0%, #b388eb 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.welcome-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8e44ad, #b388eb, #d7bde2, #8e44ad);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.welcome-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welcome-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.welcome-content {
    padding: 2.5rem 2rem;
}

.welcome-quote {
    font-style: italic;
    color: #666;
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(200, 162, 200, 0.15);
    border-radius: 15px;
    border-left: 4px solid #8e44ad;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.welcome-quote::before, .welcome-quote::after {
    content: '"';
    font-size: 2rem;
    color: #8e44ad;
    position: absolute;
    font-family: serif;
}

.welcome-quote::before {
    top: 5px;
    left: 15px;
}

.welcome-quote::after {
    bottom: -10px;
    right: 15px;
}

.welcome-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    text-align: center;
}

.stat {
    flex: 1;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #8e44ad;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.welcome-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8e44ad, #b388eb);
    color: white;
}

.btn-secondary {
    background: white;
    color: #8e44ad;
    border: 2px solid #8e44ad;
}

.welcome-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7d3c98, #9d6bd6);
}

.btn-secondary:hover {
    background: #8e44ad;
    color: white;
}

.membership-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.crochet-icon {
    display: inline-block;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-container {
        margin: 2rem auto;
        padding: 0 0.5rem;
    }
    
    .welcome-header {
        padding: 2rem 1rem;
    }
    
    .welcome-header h1 {
        font-size: 2rem;
    }
    
    .welcome-content {
        padding: 2rem 1rem;
    }
    
    .welcome-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .welcome-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .welcome-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .welcome-header h1 {
        font-size: 1.8rem;
    }
    
    .welcome-quote {
        padding: 1rem;
        font-size: 1rem;
    }
}


.personal-notes {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(142, 68, 173, 0.1);
}

.notes-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.notes-header h3 {
    color: #8e44ad;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.notes-header p {
    color: #6c757d;
    font-size: 1.1rem;
    opacity: 0.8;
}

.note-creator {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
    border: 1px solid #f1f3f4;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #8e44ad;
    font-weight: 600;
    font-size: 1rem;
}

.input-group label i {
    margin-right: 0.5rem;
    opacity: 0.8;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafbfc;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #8e44ad;
    background: white;
    box-shadow: 0 0 0 4px rgba(142, 68, 173, 0.1);
    transform: translateY(-2px);
}

.input-group input {
    font-weight: 600;
    color: #2d3748;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.save-note-btn {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
}

.save-note-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
    background: linear-gradient(135deg, #7d3c98 0%, #8e44ad 100%);
}

.save-note-btn:active {
    transform: translateY(-1px);
}

.notes-list h4 {
    color: #8e44ad;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.notes-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.note-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #8e44ad;
    transition: all 0.3s ease;
    position: relative;
}

.note-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.note-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.note-item-title {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.note-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-delete {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #ffe6e6;
    transform: scale(1.1);
}

.note-item-content {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.note-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f4;
    font-size: 0.85rem;
    color: #6c757d;
}

.note-date {
    font-style: italic;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #9ca3af;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .personal-notes {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .note-creator {
        padding: 1.5rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.note-item {
    animation: fadeIn 0.5s ease-out;
}


/* Pie de página */
footer {
    background: #8e44ad; 
    color: white;
    padding: 30px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
  }
  
  /* Contenedor de las redes sociales */
  .footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Título del footer */
  .footer-section h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
  }
  
  /* Íconos de redes sociales */
  .social-links a {
    display: inline-block;
    color: white;
    font-size: 2em; 
    margin: 10px 15px;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  

  .social-links a:hover {
    transform: scale(1.2);
    color: #e1bee7;
  }
  
  /* Línea final del footer */
  .footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
  }
  