/* Modals Stylesheet */

/* Base Modal Styles are in components.css */

/* Profile Modal */
.profile-modal .modal-content {
    max-width: 500px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e9ef;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #1e88e5;
}

.profile-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #212a34;
    font-style: italic;
    margin-bottom: 4px;
}

.profile-info p {
    font-size: 14px;
    color: #6e7884;
    font-style: italic;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.profile-stat {
    text-align: center;
    padding: 16px;
    background: #f7f9fc;
    border-radius: 8px;
}

.profile-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #212a34;
    font-style: italic;
    margin-bottom: 4px;
}

.profile-stat-label {
    font-size: 12px;
    color: #6e7884;
    font-style: italic;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    text-align: left;
    transition: all 0.2s ease;
}

.profile-action-btn:hover {
    background: #f7f9fc;
    border-color: #1e88e5;
}

.profile-action-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e88e5;
}

.profile-action-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #212a34;
    font-style: italic;
    margin-bottom: 2px;
}

.profile-action-text p {
    font-size: 12px;
    color: #6e7884;
    font-style: italic;
}

/* Confirmation Modal */
.confirm-modal .modal-content {
    max-width: 400px;
}

.confirm-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.confirm-icon.warning {
    background: #fff3e0;
    color: #ff9800;
}

.confirm-icon.error {
    background: #ffebee;
    color: #f44336;
}

.confirm-icon.success {
    background: #e8f5e9;
    color: #4caf50;
}

.confirm-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #212a34;
    font-style: italic;
    margin-bottom: 12px;
}

.confirm-message {
    text-align: center;
    font-size: 14px;
    color: #6e7884;
    font-style: italic;
    margin-bottom: 24px;
}

/* Widget Preview Modal */
.widget-preview-modal .modal-content {
    max-width: 800px;
}

.preview-container {
    background: #f7f9fc;
    border-radius: 8px;
    padding: 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background: white;
}

/* AI Config Modal */
.ai-config-modal .modal-content {
    max-width: 600px;
}

.ai-preset {
    padding: 16px;
    border: 1.5px solid #e6e9ef;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-preset:hover {
    border-color: #1e88e5;
    background: #f7f9fc;
}

.ai-preset.selected {
    border-color: #1e88e5;
    background: #e3f2fd;
}

.ai-preset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ai-preset-name {
    font-size: 14px;
    font-weight: 600;
    color: #212a34;
    font-style: italic;
}

.ai-preset-description {
    font-size: 13px;
    color: #6e7884;
    font-style: italic;
}

/* Export Data Modal */
.export-options {
    display: grid;
    gap: 12px;
}

.export-option {
    padding: 16px;
    border: 1.5px solid #e6e9ef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.export-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.export-option-info {
    flex: 1;
}

.export-option-name {
    font-size: 14px;
    font-weight: 600;
    color: #212a34;
    font-style: italic;
    margin-bottom: 2px;
}

.export-option-size {
    font-size: 12px;
    color: #6e7884;
    font-style: italic;
}

/* Quick Stats Modal */
.stats-grid-modal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat-item-modal {
    padding: 16px;
    background: #f7f9fc;
    border-radius: 8px;
}

.stat-item-modal .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #212a34;
    font-style: italic;
    margin-bottom: 4px;
}

.stat-item-modal .stat-label {
    font-size: 12px;
    color: #6e7884;
    font-style: italic;
}