* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
    color: #2c2c2c;
    background: linear-gradient(to bottom, #f8f6f4 0%, #ebe8e4 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
}
.event-line {
    margin: 1.5rem 0;
    font-size: 1.05rem;
    line-height: 2;
}

.inline-input.event-name {
    min-width: 150px;
    max-width: 250px;
    font-weight: 500;
    border: 1px solid #e8e5e1;
    border-radius: 2px;
    padding: 0.2rem 0.5rem;
}

.event-line:nth-child(6n+1) .inline-input.event-name {
    background: #fef3f8; /* pastel pink */
}

.event-line:nth-child(6n+2) .inline-input.event-name {
    background: #e8f3fe; /* pastel blue */
}

.event-line:nth-child(6n+3) .inline-input.event-name {
    background: #f3e8fe; /* pastel lavender */
}

.event-line:nth-child(6n+4) .inline-input.event-name {
    background: #e8fef3; /* pastel mint */
}

.event-line:nth-child(6n+5) .inline-input.event-name {
    background: #fef3e8; /* pastel peach */
}

.event-line:nth-child(6n+6) .inline-input.event-name {
    background: #f8fee8; /* pastel yellow */
}

.inline-input.event-name:hover {
    border-color: #c9c3bb;
    filter: brightness(0.98);
}

.inline-input.event-name:focus {
    border-color: #8a8580;
    filter: brightness(0.96);
}
.header-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #d4cfc8;
    padding-bottom: 0.75rem;
}

.header-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.header-container h1 {
    margin: 0;
    border: none;
    padding: 0;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 2px;
}

.rubik-puddles-regular {
  font-family: "Rubik Puddles", system-ui;
  font-weight: 400;
  font-style: normal;
}

h1 {
    font-size: 3rem;
    font-family: "Rubik Puddles", system-ui;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #d4cfc8;
    padding-bottom: 0.75rem;
}

.settings {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fafaf8;
    border-left: 3px solid #c9c3bb;
    font-size: 0.95rem;
}

.settings label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings input[type="checkbox"] {
    cursor: pointer;
}

.settings select {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.25rem 0.5rem;
    border: 1px solid #d4cfc8;
    background: white;
    cursor: pointer;
    border-radius: 2px;
}

.timeline {
    margin: 2rem 0;
}

.event-line {
    margin: 1.5rem 0;
    font-size: 1.05rem;
    line-height: 2.5;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e8e5e1;
}
.start-date-line {
    margin: 1.5rem 0;
    font-size: 1.05rem;
    line-height: 2;
}
.static-text {
    color: #5a5a5a;
}

.inline-input {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    border: none;
    border-bottom: 2px dotted #b8b3ab;
    background: transparent;
    padding: 0.5rem 0.3rem;
    transition: all 0.2s ease;
    min-width: 120px;
}

.inline-input:hover {
    border-bottom-color: #8a8580;
    background: #fafaf8;
}

.inline-input:focus {
    outline: none;
    border-bottom-style: solid;
    border-bottom-color: #6b6660;
    background: #f5f4f2;
}

/* Event name - subtle box */
.inline-input.event-name {
    min-width: 150px;
    font-weight: 500;
    border: 1px solid #e8e5e1;
    border-radius: 2px;
    padding: 0.5rem 0.5rem;
    background: #fafaf8;
}

.inline-input.event-name:hover {
    border-color: #c9c3bb;
    background: #f5f4f2;
}

.inline-input.event-name:focus {
    border-color: #8a8580;
    background: white;
}

/* Date display - solid underline */
.date-display {
    cursor: pointer;
    min-width: 200px;
    display: inline-block;
    border-bottom: 1px solid #b8b3ab;
    padding: 0.1rem 0.3rem;
    transition: all 0.2s ease;
}

.date-display:hover {
    border-bottom-color: #6b6660;
    background: #fafaf8;
}

/* Number input - dotted underline */
.inline-input.number-input {
    min-width: 50px;
    width: 50px;
    text-align: center;
    border-bottom: 0.1rem 0.3rem dotted #b8b3ab;
}

/* Dropdowns - no underline, just subtle highlighting on hover */
.inline-select {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    border: 1px dashed #c9c3bb;
    background: transparent;
    padding: 0.5rem 0.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 2px;
    line-height: 1.2;
}

.inline-select:hover {
    background: #fafaf8;
}

.inline-select:focus {
    outline: none;
    background: #f5f4f2;
    box-shadow: 0 0 0 2px #e8e5e1;
}

.delete-btn {
    margin-left: 1rem;
    color: #a85e5e;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.2s;
    font-family: Arial, Helvetica, sans-serif;
}

.delete-btn:hover {
    opacity: 1;
}

.add-event-btn {
    margin-top: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #6b6660;
    background: none;
    border: 1px dashed #c9c3bb;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.add-event-btn:hover {
    background: #fafaf8;
    border-color: #8a8580;
}

.copy-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e5e1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.copy-section label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.copy-btn {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
    background: #6b6660;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    border-radius: 2px;
}

.copy-btn:hover {
    background: #504d49;
}

.copy-feedback {
    font-size: 0.9rem;
    color: #5a845a;
    font-style: italic;
}


@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.4rem;
    }
    
    .header-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .settings {
        flex-direction: column;
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .event-line {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .inline-input, .inline-select {
        font-size: 0.95rem;
    }
    
    .inline-input.event-name {
        max-width: 150px;
    }
    
    .date-display {
        min-width: auto;
        max-width: 200px;
        word-wrap: break-word;
    }
    
    .copy-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .copy-btn {
        width: 100%;
    }
}