/* Container */
.bdc-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft shadow */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.bdc-wrapper h2 {
    margin-bottom: 20px;
    color: #1f2937;
    font-weight: 700;
    text-align: center;
}

.bdc-wrapper p {
    color: #6b7280;
    margin-bottom: 15px;
    text-align: center;
}

/* Input Area */
#bdc-domains-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box; /* Important for padding */
    font-family: monospace; /* Easier to edit lists */
}

#bdc-domains-input:focus {
    border-color: #4f46e5; /* Indigo focus */
    outline: none;
}

/* Button */
#bdc-check-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    font-weight: 600;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
}

#bdc-check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

#bdc-check-btn:active {
    transform: translateY(0);
}

#bdc-check-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Progress Bar */
#bdc-progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    margin-top: 25px;
    overflow: hidden;
}

#bdc-progress-bar {
    width: 0%;
    height: 100%;
    background: #10b981; /* Green */
    transition: width 0.3s ease;
}

/* Results Table */
#bdc-results {
    margin-top: 30px;
    overflow-x: auto;
}

#bdc-results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden; /* For rounded corners on creating table */
}

#bdc-results-table th,
#bdc-results-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

#bdc-results-table th {
    background-color: #f9fafb;
    color: #374151;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

#bdc-results-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Status Badges */
.bdc-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.bdc-status-available {
    background-color: #d1fae5;
    color: #065f46;
}

.bdc-status-registered {
    background-color: #fee2e2;
    color: #991b1b;
}

.bdc-status-invalid {
    background-color: #f3f4f6;
    color: #4b5563;
}
