/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

.dreamcore-monitor-section {
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dreamcore-monitor-section h2 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.dreamcore-monitor-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.dreamcore-monitor-stat-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}

.dreamcore-monitor-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
}

.dreamcore-monitor-stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Status indicators */
.status-success {
    color: #00a32a;
    font-weight: bold;
}

.status-warning {
    color: #d63638;
    font-weight: bold;
}

.status-info {
    color: #0073aa;
    font-weight: bold;
}

/* Button styles */
.dreamcore-monitor-button {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.dreamcore-monitor-button:hover {
    text-decoration: none;
}

.dreamcore-monitor-button-primary {
    background-color: #0073aa;
    color: #fff;
}

.dreamcore-monitor-button-primary:hover {
    background-color: #005a87;
    color: #fff;
}

.dreamcore-monitor-button-secondary {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
}

.dreamcore-monitor-button-secondary:hover {
    background-color: #e5e5e5;
    color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .dreamcore-monitor-stats {
        grid-template-columns: 1fr;
    }

    .dreamcore-monitor-section {
        padding: 15px;
    }
}

.dreamcore-monitor-security-container .postbox {
    margin-bottom: 20px;
}

.custom-login-input-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.url-prefix {
    background: #f1f1f1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: 0;
    border-radius: 3px 0 0 3px;
    font-family: monospace;
    color: #666;
}

.custom-login-input-wrapper input[type="text"] {
    border-radius: 0 3px 3px 0;
    border-left: 0;
    margin: 0;
}

.url-preview {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 3px;
    border-left: 3px solid #0073aa;
}

.security-warnings {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.security-warnings h4 {
    margin-top: 0;
    color: #856404;
}

.security-warnings ul {
    margin-bottom: 0;
}

.security-warnings li {
    margin-bottom: 8px;
    color: #856404;
}
