/* Date Tool Styles */
#date-tool {
    width: 300px; /* Increased from 250px to accommodate longer dates */
}

/* Date Display */
#date-display {
    margin: 15px auto;
    text-align: center;
}

.date-format {
    padding: 8px 0;
}

/* Both date formats use the same font size now */
#long-date-format,
#short-date-format {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    display: inline-block;
    white-space: nowrap; /* Prevent wrapping; JS will expand container width */
}

/* Simple standard underlined date styles - now with black underline */
.underlined {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #000000; /* Changed from #4caf50 (green) to #000000 (black) */
}

#short-date-format {
    margin-top: 8px;
}

/* Format toggle buttons */
.button-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
}

.date-format-button {
    background-color: #e0e0e0;
    color: #333;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.date-format-button:hover {
    background-color: #d0d0d0;
}

.date-format-button.active {
    background-color: #444444;
    color: white;
}

/* Removed .date-options-menu and .date-menu-item styles for custom context menus */

#date-display.underlined {
    text-decoration: underline;
}