/* Shared Dialog Styles for PulseIQ Application */

/* Modern Dialog Container */
.modern-dialog .k-dialog {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Dialog Title Bar with Gradient */
.modern-dialog .k-dialog-titlebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem 2rem;
    border: none;
}

.modern-dialog .k-dialog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.modern-dialog .k-dialog-titlebar-action {
    color: white;
}

.modern-dialog .k-dialog-titlebar-action:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Dialog Content */
.modern-dialog .k-dialog-content {
    padding: 0 !important;
    background: #f8f9fa;
}

/* Form Container */
.dialog-form-container {
    padding: 2rem;
    background: white;
    margin: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Form Sections */
.form-section {
    margin-bottom: 1.5rem;
}

.form-section label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row-full {
    grid-column: 1 / -1;
}

/* Dialog Actions (Button Area) */
.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* Alternative color schemes for different dialog types */
.modern-dialog.dialog-success .k-dialog-titlebar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.modern-dialog.dialog-warning .k-dialog-titlebar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modern-dialog.dialog-danger .k-dialog-titlebar {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modern-dialog.dialog-info .k-dialog-titlebar {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
