/* Birthday Echo Plugin Styles */
.birthday-echo-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.birthday-echo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.birthday-echo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: #111827;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.birthday-echo-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.birthday-echo-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
}

.birthday-echo-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.birthday-echo-form {
    margin-bottom: 2rem;
}

.birthday-echo-form h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.birthday-echo-form p {
    color: #6b7280;
    margin: 0 0 2rem 0;
    text-align: center;
}

.birthday-echo-date-display {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.birthday-echo-date-display .label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.birthday-echo-date-display .date {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
}

.birthday-echo-button {
    width: 100%;
    background: #111827;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background-color 0.2s;
}

.birthday-echo-button:hover {
    background: #1f2937;
}

.birthday-echo-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

.birthday-echo-date-picker {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.birthday-echo-date-picker h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 1.5rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.birthday-echo-dropdowns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.birthday-echo-dropdown {
    display: flex;
    flex-direction: column;
}

.birthday-echo-dropdown label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.birthday-echo-dropdown select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.birthday-echo-dropdown select:focus {
    border-color: #6b7280;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.1);
}

.birthday-echo-calendar {
    margin-bottom: 1.5rem;
}

.birthday-echo-calendar h4 {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
}

.birthday-echo-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.birthday-echo-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    padding: 0.5rem;
}

.birthday-echo-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.birthday-echo-day {
    height: 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: #374151;
}

.birthday-echo-day:hover:not(:disabled) {
    background: #f3f4f6;
}

.birthday-echo-day.selected {
    background: #111827;
    color: white;
}

.birthday-echo-day:disabled {
    visibility: hidden;
}

.birthday-echo-selected-display {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.birthday-echo-selected-display .label {
    font-size: 0.875rem;
    color: #6b7280;
}

.birthday-echo-selected-display .date {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
}

.birthday-echo-actions {
    display: flex;
    gap: 0.75rem;
}

.birthday-echo-cancel {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.birthday-echo-cancel:hover {
    background: #e5e7eb;
}

.birthday-echo-ok {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #111827;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.birthday-echo-ok:hover:not(:disabled) {
    background: #1f2937;
}

.birthday-echo-ok:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.birthday-echo-results {
    margin-top: 2rem;
}

.birthday-echo-original {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.birthday-echo-original h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.birthday-echo-original p {
    color: #374151;
    margin: 0;
}

.birthday-echo-matches h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.birthday-echo-matches p {
    color: #6b7280;
    margin: 0 0 1.5rem 0;
}

.birthday-echo-match {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s;
}

.birthday-echo-match:hover {
    border-color: #d1d5db;
}

.birthday-echo-match-date {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.birthday-echo-match-weekday {
    color: #6b7280;
}

.birthday-echo-match-years {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.birthday-echo-reset {
    width: 100%;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.birthday-echo-reset:hover {
    background: #f9fafb;
}

.birthday-echo-footer {
    margin-top: 3rem;
    text-align: center;
}

.birthday-echo-footer-content {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.birthday-echo-footer svg {
    width: 1rem;
    height: 1rem;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 640px) {
    .birthday-echo-container {
        padding: 1rem;
    }
    
    .birthday-echo-title {
        font-size: 2rem;
    }
    
    .birthday-echo-dropdowns {
        grid-template-columns: 1fr;
    }
    
    .birthday-echo-match {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
