.di-container {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.di-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.di-controls {
    padding: 40px;
    background: #ffffff;
    border-right: 1px solid #00000020;
}

.di-output {
    padding: 40px;
    background: #ffffff;
}

.di-form-group {
    margin-bottom: 25px;
}

.di-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.di-form-group-label div {
    font-size: 16px;
    margin: 10px 0;
    font-weight: 400;
    color: #000000;
    line-height: 1.4em;
}

.di-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.di-radio-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.di-radio-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.di-radio-option input[type="radio"] {
    position: absolute;
    inset: 0; 
    opacity: 0;
    cursor: pointer;
    z-index: 2; 
    margin-right: 12px;
    transform: scale(1.2);
}
.di-radio-option::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #666;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
  background: #ffffff;
  box-sizing: border-box;
}

.di-radio-option.di-selected {
    border-color: #006ce0;
    background: #006ce020;
}
.di-radio-option.di-selected::before{
    content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
  background: #006ce0;
  box-sizing: border-box;
}
.c-option-label{
    margin-left:20px;
}
.di-checkbox-group {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: white;
}

.di-checkbox-option {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.di-checkbox-option:last-child {
    border-bottom: none;
}

.di-checkbox-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.1);
}

.di-checkbox-option label {
    display: flex;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
    flex: 1;
    color: #000000;
}

.di-bot-info {
    font-size: 0.85em;
    color: #666;
    margin-left: 5px;
}

.di-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.di-input-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.di-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.di-btn:hover {
    background: #5a6fd8;
}

.di-btn-secondary {
    background: #6c757d;
}

.di-btn-secondary:hover {
    background: #5a6268;
}

.di-output-section {
    margin-bottom: 30px;
    margin-top: 50px;
}

.di-output-section h3 {
    font-size: 30px;
    color: #112D4B;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.di-output-section .di-copdow-btn {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.di-output-section button {
    margin-bottom: 30px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* fixed selector + stray brace removed */
.di-btn.di-copy-btn {
    background-color: #ffffff !important;
    border: 1px solid #006ce0;
    font-size: 12px;
    padding: 5px 10px;
}

.di-copy-btn:hover {
    background: #112d4b;
    color: #fff;
}

.di-textarea {
    width: 100%;
    height: 300px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
    background: #f8f9fa;
}

.di-stats {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.di-stats h4 {
    color: #112D4B;
    font-weight: 600;
    margin-bottom: 10px;
}

.di-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.di-stat-item {
    text-align: center;
    background: white;
    padding: 10px;
    border-radius: 5px;
}

.di-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #1976d2;
}

.di-stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .di-content {
        grid-template-columns: 1fr;
    }
    .di-controls {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
}

.di-success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

