/* Main container */
.dhc-container {
    max-width: 100%;
    margin: 20px auto 50px;
    padding: 20px 50px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Title styling */
.dhc-title {
    color: #2c3e50;
    text-align: center;
    font-size: 30px;
    margin: 15px 0;
}

/* Description text */
.dhc-description {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

/* Form styling */
.dhc-form {
    display: flex;
    margin: 20px auto 50px;
    max-width: 700px;
}

.dhc-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

.dhc-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.dhc-button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.dhc-button:hover {
    background-color: #2980b9;
}

.dhc-button:active {
    background-color: #1f6da9;
}

/* Loading indicator */
.dhc-loading {
    margin: 30px 0;
    text-align: center;
}

.dhc-progress {
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.dhc-progress-bar {
    height: 100%;
    background-color: #3498db;
    width: 0%;
    transition: width 0.3s ease;
}

.dhc-loading-text {
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.dhc-quote {
    font-style: italic;
    color: #7f8c8d;
    max-width: 400px;
    margin: 10px auto;
    line-height: 1.6;
}

/* Results styling */
.dhc-results {
    margin-top: 20px;
}

.dhc-results h2 {
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 40px;
    font-size: 24px;
}

.dhc-results-section {
    margin-bottom: 30px;
}

.dhc-results-section h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
}

.dhc-results-card {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 15px 30px;
    margin-bottom: 20px;
}

.dhc-results p {
    margin: 8px 0;
    line-height: 1.5;
}

.dhc-results strong {
    font-weight: 600;
    color: #34495e;
}

.dhc-dns-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.dhc-dns-list li {
    margin-bottom: 5px;
}

.dhc-whois-link {
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
}

.dhc-whois-link:hover {
    text-decoration: none;
}

/* Limit message styling */
.dhc-limit-message {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #f39c12;
    margin: 20px 0;
}

.dhc-limit-message p {
    margin: 0;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dhc-form {
        flex-direction: column;
    }
    
    .dhc-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .dhc-button {
        border-radius: 4px;
        width: 100%;
    }
}

/* Admin dashboard styles */
.dhc-admin-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.dhc-admin-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    flex: 1;
    min-width: 300px;
}

.dhc-admin-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dhc-stat-box {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    min-width: 120px;
}

.dhc-stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.dhc-stat-label {
    color: #7f8c8d;
    font-size: 14px;
}

.dhc-admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.dhc-admin-table th,
.dhc-admin-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dhc-admin-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}