/*
 * dialog-changelog.css
 *
 * Styles for Changelog dialog
 */

.changelog-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.changelog-modal-dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.changelog-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.changelog-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.changelog-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.changelog-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.changelog-modal-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.changelog-textbox {
    width: 100%;
    flex: 1;
    min-height: 350px;
    padding: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background: #f9f9f9;
    resize: none;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.changelog-textbox:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.changelog-button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.changelog-close-button {
    padding: 10px 32px;
    border-radius: 6px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #667eea;
    color: white;
}

.changelog-close-button:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.changelog-close-button:active {
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 768px) {
    .changelog-modal-dialog {
        width: 95%;
        max-height: 85vh;
    }

    .changelog-modal-header {
        padding: 16px 20px;
    }

    .changelog-modal-header h2 {
        font-size: 1.3rem;
    }

    .changelog-modal-body {
        padding: 20px;
    }

    .changelog-textbox {
        font-size: 0.85rem;
    }
}
