* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

h1 {
    text-align: center;
    color: #444;
}

h2 {
    margin-bottom: 15px;
    color: #555;
}

h3 {
    margin-bottom: 12px;
    color: #555;
}

.view {
    transition: opacity 0.3s ease;
}

.hidden {
    display: none;
}

.add-section, .streaks-section, .export-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

form {
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 18px;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

#config-btn {
    position: absolute;
    right: 0;
    top: 0;
}

.config-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.config-header h2 {
    margin-left: 15px;
    margin-bottom: 0;
}

#export-btn, #import-btn {
    background-color: #2196F3;
    width: 100%;
}

#export-btn:hover, #import-btn:hover {
    background-color: #0b7dda;
}

.streak-item {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.streak-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.streak-title {
    font-size: 18px;
    font-weight: bold;
}

.streak-counter {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.streak-fire {
    margin-right: 5px;
    font-size: 20px;
    display: inline-block;
    animation: fire-animation 0.8s infinite alternate;
}

@keyframes fire-animation {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.streak-days {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.day-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.day-circle:hover {
    transform: scale(1.1);
}

.day-completed {
    background-color: #4CAF50;
    color: white;
}

.day-failed {
    background-color: #f44336;
    color: white;
}

.day-pending {
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
}

.streak-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    gap: 10px;
}

.streak-actions button {
    padding: 5px 10px;
    font-size: 14px;
}

.check-btn {
    background-color: #4CAF50;
}

.delete-btn {
    background-color: #f44336;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

.current-date {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #666;
}

.no-streaks {
    padding: 20px;
    text-align: center;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.animation-pop {
    animation: pop 0.3s ease-out;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Estilos para la sección de objetivos */
.goals-section {
  margin-bottom: 20px;
}

.goal-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.goal-item.goal-completed {
  background-color: #e8f5e9;
  border-left: 5px solid #43a047;
}

.goal-text {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.goal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toggle-goal-btn {
  background-color: #4caf50;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.toggle-goal-btn:hover {
  background-color: #45a049;
}

.delete-goal-btn {
  background-color: #f44336;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.delete-goal-btn:hover {
  background-color: #d32f2f;
}

.no-goals {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}
